Vben
authored
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';
const charts: AppRouteModule = {
path: '/flow',
name: 'FlowDemo',
component: LAYOUT,
redirect: '/flow/flowChart',
meta: {
icon: 'tabler:chart-dots',
title: t('routes.demo.flow.name'),
},
children: [
{
path: 'flowChart',
name: 'flowChartDemo',
component: () => import('/@/views/demo/comp/flow-chart/index.vue'),
meta: {
title: t('routes.demo.flow.flowChart'),
},
},
],
};
export default charts;
|