29 lines
639 B
TypeScript
29 lines
639 B
TypeScript
|
|
import type { AppRouteModule } from '/@/router/types';
|
||
|
|
|
||
|
|
import { LAYOUT } from '/@/router/constant';
|
||
|
|
import { t } from '/@/hooks/web/useI18n';
|
||
|
|
|
||
|
|
const dashboard: AppRouteModule = {
|
||
|
|
path: '/about',
|
||
|
|
name: 'About',
|
||
|
|
component: LAYOUT,
|
||
|
|
redirect: '/about/index',
|
||
|
|
meta: {
|
||
|
|
icon: 'simple-icons:about-dot-me',
|
||
|
|
title: t('routes.dashboard.about'),
|
||
|
|
},
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: 'index',
|
||
|
|
name: 'AboutPage',
|
||
|
|
component: () => import('/@/views/sys/about/index.vue'),
|
||
|
|
meta: {
|
||
|
|
title: t('routes.dashboard.about'),
|
||
|
|
icon: 'simple-icons:about-dot-me',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
],
|
||
|
|
};
|
||
|
|
|
||
|
|
export default dashboard;
|