🧹 清理重复配置文件
- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
This commit is contained in:
28
admin-vben/apps/web-antd/src/addon/example/router/index.ts
Normal file
28
admin-vben/apps/web-antd/src/addon/example/router/index.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user