vben
2020-12-03 c303ec1a23c4b1fbad4fbda9007af2147dc327e2
提交 | 用户 | age
2f6253 1 import type { AppRouteModule } from '/@/router/types';
2
c303ec 3 import { LAYOUT } from '/@/router/constant';
2f6253 4
fc4666 5 const dashboard: AppRouteModule = {
c303ec 6   path: '/dashboard',
V 7   name: 'Dashboard',
8   component: LAYOUT,
9   redirect: '/dashboard/welcome',
10   meta: {
11     icon: 'ant-design:home-outlined',
12     title: 'routes.dashboard.dashboard',
2f6253 13   },
c303ec 14   children: [
2f6253 15     {
c303ec 16       path: 'workbench',
1cd75f 17       name: 'Workbench',
V 18       component: () => import('/@/views/dashboard/workbench/index.vue'),
19       meta: {
190112 20         title: 'routes.dashboard.workbench',
2f6253 21       },
22     },
52ee35 23     {
c303ec 24       path: 'analysis',
52ee35 25       name: 'Analysis',
V 26       component: () => import('/@/views/dashboard/analysis/index.vue'),
27       meta: {
190112 28         title: 'routes.dashboard.analysis',
52ee35 29       },
V 30     },
2f6253 31   ],
fc4666 32 };
V 33
34 export default dashboard;