Blame view

src/router/routes/modules/dashboard.ts 783 Bytes
陈文彬 authored
1
2
import type { AppRouteModule } from '/@/router/types';
vben authored
3
import { LAYOUT } from '/@/router/constant';
陈文彬 authored
4
5
const dashboard: AppRouteModule = {
vben authored
6
7
8
9
10
11
12
  path: '/dashboard',
  name: 'Dashboard',
  component: LAYOUT,
  redirect: '/dashboard/welcome',
  meta: {
    icon: 'ant-design:home-outlined',
    title: 'routes.dashboard.dashboard',
陈文彬 authored
13
  },
vben authored
14
  children: [
15
    {
vben authored
16
      path: 'workbench',
17
18
19
      name: 'Workbench',
      component: () => import('/@/views/dashboard/workbench/index.vue'),
      meta: {
vben authored
20
        title: 'routes.dashboard.workbench',
陈文彬 authored
21
22
      },
    },
23
    {
vben authored
24
      path: 'analysis',
25
26
27
      name: 'Analysis',
      component: () => import('/@/views/dashboard/analysis/index.vue'),
      meta: {
vben authored
28
        title: 'routes.dashboard.analysis',
29
30
      },
    },
陈文彬 authored
31
  ],
32
33
34
};

export default dashboard;