Files
wwjcloud-nest-v1/admin-vben/apps/web-antd/src/addon/example/router/index.ts
wanwu e7a1d6b4d6 🧹 清理重复配置文件
- 删除根目录中重复的 NestJS 配置文件
- 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc
- 保留 wwjcloud-nest/ 目录中的完整配置
- 避免配置冲突,确保项目结构清晰
2025-10-14 23:56:20 +08:00

28 lines
740 B
TypeScript

import type { RouteRecordRaw } from 'vue-router';
export const NO_LOGIN_ROUTES: string[] = ['/home/example/public'];
export const ROUTE: RouteRecordRaw[] = [
{
name: 'ExampleAddonRoot',
path: '/home/example',
meta: { title: '示例插件', app: 'home' },
component: () => import('#/layouts/app/home.vue'),
children: [
{
name: 'ExampleAddonPublic',
path: 'public',
meta: { title: '公开页面' },
component: () => import('../views/public.vue'),
},
{
name: 'ExampleAddonDashboard',
path: 'dashboard',
meta: { title: '插件仪表盘' },
component: () => import('../views/dashboard.vue'),
},
],
},
];
export default ROUTE;