1234567891011121314151617181920212223242526 |
- import type { AppRouteModule } from '/@/router/types';
- import { LAYOUT } from '/@/router/constant';
- import { t } from '/@/hooks/web/useI18n';
- const test: AppRouteModule = {
- path: '/test',
- name: 'TestDemo',
- component: LAYOUT,
- redirect: '/table/basic',
- meta: {
- icon: 'ant-design:table-outlined',
- title: t('routes.table.test'),
- },
- children: [
- {
- path: 'basic',
- name: 'testBasic',
- component: () => import('/@/views/test/index.vue'),
- meta: {
- title: t('routes.table.toggletest'),
- icon: 'bx:bx-home',
- },
- },
- ],
- };
- export default test;
|