index.js 888 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. import CenterPage from 'views/CenterPage.vue'
  3. const routes = [
  4. {
  5. path: '/',
  6. name: 'CenterPage',
  7. component: CenterPage
  8. },
  9. {
  10. path: '/AllMatrices',
  11. name: 'AllMatrices',
  12. component: () => import('components/allMatricesNoDia.vue')
  13. },
  14. {
  15. path: '/TemperatureMatrix',
  16. name: 'TemperatureMatrix',
  17. component: () => import('components/temperatureMatrixNoDia.vue')
  18. },
  19. {
  20. path: '/SYZDetails',
  21. name: 'SYZDetails',
  22. component: () => import('components/focus/syzDetailsNoDia.vue')
  23. },
  24. {
  25. path: '/ManualPage',
  26. name: 'ManualPage',
  27. component: () => import('views/ManualPage.vue')
  28. }
  29. ]
  30. const router = createRouter({
  31. history: createWebHashHistory(),
  32. routes
  33. })
  34. export default router