- 删除根目录中重复的 NestJS 配置文件 - 删除 tsconfig.json, tsconfig.build.json, eslint.config.mjs, .prettierrc - 保留 wwjcloud-nest/ 目录中的完整配置 - 避免配置冲突,确保项目结构清晰
1018 B
1018 B
UI Framework Switching
Vue Admin supports your freedom to choose the UI framework. The default UI framework for the demo site is Ant Design Vue, consistent with the older version. The framework also has built-in versions for Element Plus and Naive UI, allowing you to choose according to your preference.
Adding a New UI Framework
If you want to use a different UI framework, you only need to follow these steps:
- Create a new folder inside
apps, for example,apps/web-xxx. - Change the
namefield inapps/web-xxx/package.jsontoweb-xxx. - Remove dependencies and code from other UI frameworks and replace them with your chosen UI framework's logic, which requires minimal changes.
- Adjust the language files within
locales. - Adjust the components in
app.vue. - Adapt the theme of the UI framework to match
Vben Admin. - Adjust the application name in
.env. - Add a
dev:xxxscript in the root directory of the repository. - Run
pnpm installto install dependencies.