routes.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. export default [
  2. {
  3. path: '/login',
  4. name: 'login',
  5. component: './Login',
  6. layout: false,
  7. },
  8. {
  9. path: '/',
  10. component: '../layouts',
  11. routes: [
  12. {
  13. path: '/',
  14. redirect: '/home',
  15. },
  16. {
  17. path: '/noAuth',
  18. component: './NoAuth',
  19. },
  20. {
  21. path: '/home',
  22. component: './Home',
  23. },
  24. {
  25. path: '/member',
  26. name: 'member',
  27. component: './Member',
  28. },
  29. {
  30. path: '/member/invalid',
  31. name: 'member.invalid',
  32. component: './Member/invalid',
  33. },
  34. {
  35. path: '/environment',
  36. name: 'environment',
  37. component: './Environment',
  38. },
  39. {
  40. path: '/equipment',
  41. name: 'equipment',
  42. component: './Equipment',
  43. },
  44. {
  45. path: '/runtime',
  46. name: 'runtime',
  47. component: './Runtime',
  48. },
  49. {
  50. path: '/runtime/recordList',
  51. name: 'recordList',
  52. component: './Runtime/RecordList',
  53. },
  54. ],
  55. },
  56. ];