Browse Source

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

RuoYi 3 years ago
parent
commit
8978012f9d
1 changed files with 7 additions and 0 deletions
  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: {