| 1234567891011121314151617181920212223242526272829303132 |
- import { createRouter, createWebHashHistory } from 'vue-router'
- import Courtyard from '@/views/Courtyard.vue'
- import Integral from '@/views/Integral.vue'
- import Editing from '@/views/Editing.vue'
- const routes = [
- {
- path: '/',
- name: 'Courtyard',
- component: Courtyard,
- },
- {
- path: '/integral',
- name: 'Integral',
- component: Integral,
- },
- {
- path: '/editing',
- name: 'Editing',
- component: Editing,
- meta: { outoflist: true }
- }
- ]
- const router = createRouter({
- history: createWebHashHistory(),
- routes
- })
- export default router
|