Sfoglia il codice sorgente

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

RuoYi 3 anni fa
parent
commit
8978012f9d
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 = {
     },
     disableHostCheck: true
   },
+  css: {
+    loaderOptions: {
+      sass: {
+        sassOptions: { outputStyle: "expanded" }
+      }
+    }
+  },
   configureWebpack: {
     name: name,
     resolve: {