Skip to content

Naive UI ​

适用分支:main。后台应用 apps/web-naive,门户应用 apps/site-naive。后台开发端口声明为 3004。

sh
pnpm dev:web-naive
pnpm dev:site-naive
pnpm build:web-naive

UI 组件与主题初始化在应用内部,工程配置复用 @fast-vue3/vite-config。新增页面先确认该应用的 router/layout 约定,不要从其他 UI 应用直接复制组件前缀与全局样式。

源码:apps/web-naive/src/main.ts · 源码:apps/web-naive/vite.config.ts

Polyrepo 采用环境模式选择框架,区别见 UI 模式。PrimeVue 仅在 main,DevUI 仅在 polyrepo。

Released under the MIT License.