fix: color switching problem in prod env; 🐛

修复:生产环境下颜色切换问题;
master
iczer 4 years ago
parent 4063a4f08a
commit 8cbde7bff5
  1. 8
      vue.config.js

@ -20,6 +20,14 @@ module.exports = {
})
)
},
chainWebpack: config => {
config
.plugin('optimize-css')
.tap(args => {
args[0].cssnanoOptions.preset[1].colormin = false
return args
})
},
css: {
loaderOptions: {
less: {

Loading…
Cancel
Save