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: '/test/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;
