Sfoglia il codice sorgente

修复打包后字体图标偶现的乱码问题

RuoYi 4 anni fa
parent
commit
b06db48891
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      ruoyi-ui/vue.config.js

+ 7 - 0
ruoyi-ui/vue.config.js

@@ -42,6 +42,13 @@ module.exports = {
42 42
     },
43 43
     disableHostCheck: true
44 44
   },
45
+  css: {
46
+    loaderOptions: {
47
+      sass: {
48
+        sassOptions: { outputStyle: "expanded" }
49
+      }
50
+    }
51
+  },
45 52
   configureWebpack: {
46 53
     name: name,
47 54
     resolve: {