regions.route.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. export default [
  2. {
  3. path: "/city",
  4. name: "CityPage",
  5. component: () => import("pages/city/CityPage.vue"),
  6. meta: {
  7. title: "ui.navigation.city",
  8. requireAuth: true,
  9. requiredPermission: "config.city",
  10. breadcrumbs: [
  11. {
  12. name: "DashboardPage",
  13. title: "ui.navigation.dashboard",
  14. },
  15. {
  16. name: "CityPage",
  17. title: "ui.navigation.city",
  18. },
  19. ],
  20. },
  21. },
  22. {
  23. path: "/country",
  24. name: "CountryPage",
  25. component: () => import("pages/country/CountryPage.vue"),
  26. meta: {
  27. title: "ui.navigation.country",
  28. requireAuth: true,
  29. requiredPermission: "config.country",
  30. breadcrumbs: [
  31. {
  32. name: "DashboardPage",
  33. title: "ui.navigation.dashboard",
  34. },
  35. {
  36. name: "CountryPage",
  37. title: "ui.navigation.country",
  38. },
  39. ],
  40. },
  41. },
  42. {
  43. path: "/state",
  44. name: "StatePage",
  45. component: () => import("pages/state/StatePage.vue"),
  46. meta: {
  47. title: "ui.navigation.state",
  48. requireAuth: true,
  49. requiredPermission: "config.state",
  50. breadcrumbs: [
  51. {
  52. name: "DashboardPage",
  53. title: "ui.navigation.dashboard",
  54. },
  55. {
  56. name: "StatePage",
  57. title: "ui.navigation.state",
  58. },
  59. ],
  60. },
  61. },
  62. ]