From 272f740597aba67eaf2ef821c9a647b8dad3a07a Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Wed, 22 Jul 2020 20:50:46 +0800 Subject: [PATCH] chore: optimize the efficiency of theme switching; :star2: --- vue.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vue.config.js b/vue.config.js index eb4694d..ebfd208 100644 --- a/vue.config.js +++ b/vue.config.js @@ -16,6 +16,7 @@ module.exports = { new ThemeColorReplacer({ fileName: 'css/theme-colors-[contenthash:8].css', matchColors: getThemeColors(), + injectCss: true, resolveCss }) )