routes.ts 693 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. export default [
  2. {
  3. name: 'list.table-list',
  4. path: '/order',
  5. component: './Order/Billing',
  6. access: 'billing',
  7. },
  8. {
  9. path: '/jurisdiction',
  10. component: './admin/user/jurisdiction',
  11. access: 'jurisdiction',
  12. },
  13. {
  14. path: '/welcome',
  15. name: 'welcome',
  16. component: './Welcome',
  17. access: 'welcome',
  18. },
  19. {
  20. path: '/',
  21. redirect: '/welcome',
  22. },
  23. {
  24. path: '/user',
  25. layout: false,
  26. routes: [
  27. {
  28. path: '/user',
  29. routes: [
  30. {
  31. name: 'login',
  32. path: '/user/login',
  33. component: './user/login',
  34. },
  35. ],
  36. },
  37. ],
  38. },
  39. {
  40. component: './404',
  41. },
  42. ];