39 lines
869 B
TypeScript
39 lines
869 B
TypeScript
|
import type { AppRouteModule } from '/@/router/types';
|
||
|
|
||
|
// import { LAYOUT } from '/@/router/constant';
|
||
|
import { t } from '/@/hooks/web/useI18n';
|
||
|
|
||
|
const site: AppRouteModule = {
|
||
|
path: '/site',
|
||
|
name: 'site',
|
||
|
component: () => import('/@/layouts/page/index.vue'),
|
||
|
redirect: '/site/index',
|
||
|
meta: {
|
||
|
orderNo: 10,
|
||
|
icon: 'ion:grid-outline',
|
||
|
title: t('routes.dashboard.dashboard'),
|
||
|
},
|
||
|
children: [
|
||
|
{
|
||
|
path: 'index',
|
||
|
name: 'siteIndex',
|
||
|
component: () => import('/@/views/site/index.vue'),
|
||
|
meta: {
|
||
|
// affix: true,
|
||
|
title: t('routes.dashboard.analysis'),
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
path: 'index2',
|
||
|
name: 'siteIndex2',
|
||
|
component: () => import('/@/views/site/index2.vue'),
|
||
|
meta: {
|
||
|
// affix: true,
|
||
|
title: t('routes.dashboard.analysis'),
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|
||
|
|
||
|
export default site;
|