index.js 576 B

1234567891011121314151617181920212223242526272829303132
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. import Courtyard from '@/views/Courtyard.vue'
  3. import Integral from '@/views/Integral.vue'
  4. import Editing from '@/views/Editing.vue'
  5. const routes = [
  6. {
  7. path: '/',
  8. name: 'Courtyard',
  9. component: Courtyard,
  10. },
  11. {
  12. path: '/integral',
  13. name: 'Integral',
  14. component: Integral,
  15. },
  16. {
  17. path: '/editing',
  18. name: 'Editing',
  19. component: Editing,
  20. meta: { outoflist: true }
  21. }
  22. ]
  23. const router = createRouter({
  24. history: createWebHashHistory(),
  25. routes
  26. })
  27. export default router