1234567891011121314151617181920 |
-
- import { createRouter, createWebHashHistory } from 'vue-router'
-
- const routes = [
- // { path: '/', component: () => import('@/pages/Language.vue') },
- { path: '/', component: () => import('@/pages/index.vue') },
- { path: '/bk1', component: () => import('@/pages/bk1/index.vue') },
- { path: '/pg2-2', component: () => import('@/pages/pg2-2/index.vue') },
- { path: '/pg4', component: () => import('@/pages/pg4/video.vue') },
- { path: '/pg4/next', component: () => import('@/pages/pg4/index.vue') },
- { path: '/pg4/plant', component: () => import('@/pages/pg4/plant.vue') },
- { path: '/share', component: () => import('@/pages/share/index.vue') },
- ]
-
- const router = createRouter({
- history: createWebHashHistory(),
- routes, // short for `routes: routes`
- })
-
- export default router;
|