🧹 清理重复配置文件

- 删除根目录中重复的 NestJS 配置文件
- 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc
- 保留 wwjcloud-nest/ 目录中的完整配置
- 避免配置冲突,确保项目结构清晰
This commit is contained in:
wanwu
2025-10-14 23:56:20 +08:00
parent 7a160dd04b
commit e7a1d6b4d6
3263 changed files with 356 additions and 112679 deletions

View File

@@ -0,0 +1,48 @@
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
name: 'AdminRoot',
path: '/admin',
meta: { title: 'Admin' },
component: () => import('#/layouts/app/admin.vue'),
children: [
{
name: 'AdminIndex',
path: '',
component: () => import('#/views/app/admin/index.vue'),
meta: { title: 'Admin 控制台' },
},
],
},
{
name: 'HomeRoot',
path: '/home',
meta: { title: 'Home' },
component: () => import('#/layouts/app/home.vue'),
children: [
{
name: 'HomeIndex',
path: '',
component: () => import('#/views/app/home/index.vue'),
meta: { title: 'Home 门户' },
},
],
},
{
name: 'SiteRoot',
path: '/site',
meta: { title: 'Site' },
component: () => import('#/layouts/app/site.vue'),
children: [
{
name: 'SiteIndex',
path: '',
component: () => import('#/views/app/site/index.vue'),
meta: { title: 'Site 应用' },
},
],
},
];
export default routes;