This commit is contained in:
2026-07-20 11:50:47 +08:00
parent 95d43746f6
commit 019ed28d37
401 changed files with 61622 additions and 23869 deletions

View File

@@ -43,10 +43,12 @@ export default defineConfig(({ command }) => {
preprocessorOptions: {
less: {
javascriptEnabled: true,
plugins: [new DynamicAntdLess()],
// plugins: [new DynamicAntdLess()],
modifyVars: {
// 组件样式开发环境全局引入生产环境按需引入
"style-entry-file": isBuild ? "as-needed" : "global-import"
"style-entry-file": isBuild ? "as-needed" : "global-import",
// 统一主题主色(避免按需构建时丢失主题色)
"primary-color": "#1590ff"
}
}
}