routes.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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: '/information',
  31. name: 'information',
  32. component: './Information',
  33. },
  34. {
  35. path: '/member/invalid',
  36. name: 'member.invalid',
  37. component: './Member/invalid',
  38. },
  39. {
  40. path: '/environment',
  41. name: 'environment',
  42. component: './Environment',
  43. },
  44. {
  45. path: '/equipment',
  46. name: 'equipment',
  47. component: './Equipment',
  48. },
  49. {
  50. path: '/runtime',
  51. name: 'runtime',
  52. component: './Runtime',
  53. },
  54. {
  55. path: '/runtime/recordList',
  56. name: 'recordList',
  57. component: './Runtime/RecordList',
  58. },
  59. ],
  60. },
  61. ];