dashboard.ts 769 B

12345678910111213141516171819202122232425262728293031323334
  1. import type { AppRouteModule } from '/@/router/types';
  2. import { LAYOUT } from '/@/router/constant';
  3. const dashboard: AppRouteModule = {
  4. path: '/dashboard',
  5. name: 'Dashboard',
  6. component: LAYOUT,
  7. redirect: '/dashboard/welcome',
  8. meta: {
  9. icon: 'bx:bx-home',
  10. title: 'routes.dashboard.dashboard',
  11. },
  12. children: [
  13. {
  14. path: 'workbench',
  15. name: 'Workbench',
  16. component: () => import('/@/views/dashboard/workbench/index.vue'),
  17. meta: {
  18. title: 'routes.dashboard.workbench',
  19. },
  20. },
  21. {
  22. path: 'analysis',
  23. name: 'Analysis',
  24. component: () => import('/@/views/dashboard/analysis/index.vue'),
  25. meta: {
  26. title: 'routes.dashboard.analysis',
  27. },
  28. },
  29. ],
  30. };
  31. export default dashboard;