vben
authored
|
1
2
3
|
import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
|
vben
authored
|
4
|
import { t } from '/@/hooks/web/useI18n';
|
vben
authored
|
5
6
7
8
9
10
11
|
const dashboard: AppRouteModule = {
path: '/home',
name: 'Home',
component: LAYOUT,
redirect: '/home/welcome',
meta: {
|
Vben
authored
|
12
|
icon: 'ion:home-outline',
|
vben
authored
|
13
|
title: t('routes.dashboard.welcome'),
|
vben
authored
|
14
15
16
17
18
19
20
|
},
children: [
{
path: 'welcome',
name: 'Welcome',
component: () => import('/@/views/dashboard/welcome/index.vue'),
meta: {
|
vben
authored
|
21
|
title: t('routes.dashboard.welcome'),
|
vben
authored
|
22
|
affix: true,
|
|
23
|
icon: 'bx:bx-home',
|
vben
authored
|
24
25
26
27
28
29
|
},
},
],
};
export default dashboard;
|