mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
chore: optimize the efficiency of theme switching; 🌟
This commit is contained in:
parent
a62c293e42
commit
272f740597
@ -16,6 +16,7 @@ module.exports = {
|
|||||||
new ThemeColorReplacer({
|
new ThemeColorReplacer({
|
||||||
fileName: 'css/theme-colors-[contenthash:8].css',
|
fileName: 'css/theme-colors-[contenthash:8].css',
|
||||||
matchColors: getThemeColors(),
|
matchColors: getThemeColors(),
|
||||||
|
injectCss: true,
|
||||||
resolveCss
|
resolveCss
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user