router.js 936B

12345678910111213141516171819202122
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [
  3. // { path: '/', component: () => import('@/pages/Language.vue') },
  4. // { path: '/', component: () => import('@/pages/FirstVideo.vue') },
  5. { path: '/', component: () => import('@/pages/index.vue') },
  6. { path: '/bk1', component: () => import('@/pages/bk1/index.vue') },
  7. { path: '/pg1/video', component: () => import('@/pages/pg1/video.vue') },
  8. { path: '/pg2-2', component: () => import('@/pages/pg2-2/index.vue') },
  9. { path: '/pg4', component: () => import('@/pages/pg4/video.vue') },
  10. { path: '/pg4/next', component: () => import('@/pages/pg4/index.vue') },
  11. { path: '/pg4/plant', component: () => import('@/pages/pg4/plant.vue') },
  12. { path: '/share', component: () => import('@/pages/share/index.vue') },
  13. ]
  14. const router = createRouter({
  15. history: createWebHashHistory(),
  16. routes, // short for `routes: routes`
  17. })
  18. export default router;