index.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [
  3. {
  4. path: '/',
  5. name: 'Program',
  6. component: () => import('../views/Program.vue')
  7. },
  8. {
  9. path: '/Channel',
  10. name: 'Channel',
  11. component: () => import('../views/Channel.vue')
  12. },
  13. {
  14. path: '/heightlight',
  15. name: 'Heightlight',
  16. component: () => import('../views/Heightlight.vue')
  17. },
  18. {
  19. path: '/realData',
  20. name: 'RealData',
  21. component: () => import('../views/RealData.vue')
  22. },
  23. {
  24. path: "/liveChannel",
  25. name: 'LiveChannel',
  26. component: () => import('../views/LiveChannel.vue')
  27. },
  28. {
  29. path: "/boutiqueColumn",
  30. name: 'boutiqueColumn',
  31. component: () => import('../views/BoutiqueColumn/BoutiqueColumn.vue')
  32. },
  33. {
  34. path: "/activity",
  35. name: 'Activity',
  36. component: () => import('../views/Activity/Activity.vue')
  37. },
  38. {
  39. path: "/radio",
  40. name: 'Radio',
  41. component: () => import('../views/Radio/Radio.vue')
  42. }
  43. ]
  44. const router = createRouter({
  45. history: createWebHashHistory(process.env.BASE_URL),
  46. routes
  47. })
  48. export default router