recomendation.ts 641 B

1234567891011121314151617181920212223242526272829303132
  1. import type { RouteRecordRaw } from 'vue-router'
  2. function Layout() {
  3. return import('@/layouts/index.vue')
  4. }
  5. const routes: RouteRecordRaw = {
  6. path: '/recomendation',
  7. component: Layout,
  8. name: 'recomendation',
  9. meta: {
  10. title: 'Recomendation Management',
  11. icon: 'i-ep:starFilled',
  12. singleMenu: true,
  13. },
  14. children: [
  15. {
  16. path: '',
  17. name: 'recomendationIndex',
  18. component: () => import('@/views/role-management/index.vue'),
  19. meta: {
  20. title: 'Role Management',
  21. menu: false,
  22. breadcrumb: false,
  23. activeMenu: '/recomendation',
  24. },
  25. },
  26. ],
  27. }
  28. export default routes