You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. // 配置路由信息
  3. const routes = [
  4. {
  5. path: '/',
  6. name: 'index',
  7. component: () => import('@/views/SoftHardware'),
  8. },
  9. {
  10. path: '/softhard',
  11. name: 'softhard',
  12. component: () => import('@/views/SoftHardware'),
  13. },
  14. {
  15. path: '/softhard1',
  16. name: 'softhard1',
  17. component: () => import('@/views/SoftHardware'),
  18. },
  19. {
  20. path: '/softhard2',
  21. name: 'softhard2',
  22. component: () => import('@/views/SoftHardware'),
  23. },
  24. {
  25. path: '/softhard3',
  26. name: 'softhard3',
  27. component: () => import('@/views/SoftHardware'),
  28. },
  29. {
  30. path: '/softhard4',
  31. name: 'softhard4',
  32. component: () => import('@/views/SoftHardware'),
  33. },
  34. {
  35. path: '/softdetail',
  36. name: 'softdetail',
  37. component: () => import('@/views/SoftDetail'),
  38. },
  39. {
  40. path: '/softabout',
  41. name: 'softabout',
  42. component: () => import('@/views/About/SoftAbout'),
  43. },
  44. {
  45. path: '/softrecruit',
  46. name: 'softrecruit',
  47. component: () => import('@/views/Recruit/SoftRecruit'),
  48. },
  49. ]
  50. const router = createRouter({
  51. routes,
  52. history: createWebHashHistory(),
  53. })
  54. export default router