Просмотр исходного кода

Merge branch 'pre' of https://gitee.com/zxt_5/admin_home into pre

Jing 3 месяцев назад
Родитель
Сommit
7e93775f15
2 измененных файлов с 11 добавлено и 2 удалено
  1. 2 2
      package.json
  2. 9 0
      vue.config.js

+ 2 - 2
package.json

@@ -72,8 +72,8 @@
     "mockjs": "1.0.1-beta3",
     "mockjs": "1.0.1-beta3",
     "plop": "2.3.0",
     "plop": "2.3.0",
     "runjs": "4.3.2",
     "runjs": "4.3.2",
-    "sass": "1.26.2",
-    "sass-loader": "8.0.2",
+    "sass": "^1.39.0",
+    "sass-loader": "10.2.0",
     "script-ext-html-webpack-plugin": "2.1.3",
     "script-ext-html-webpack-plugin": "2.1.3",
     "serve-static": "1.13.2",
     "serve-static": "1.13.2",
     "svg-sprite-loader": "4.1.3",
     "svg-sprite-loader": "4.1.3",

+ 9 - 0
vue.config.js

@@ -52,6 +52,15 @@ module.exports = {
     //   }
     //   }
     // }
     // }
   },
   },
+  css: {
+    loaderOptions: {
+      sass: {
+        sassOptions: {
+          outputStyle: 'expanded'
+        }
+      }
+    }
+  },
   configureWebpack: {
   configureWebpack: {
     // provide the app's title in webpack's name field, so that
     // provide the app's title in webpack's name field, so that
     // it can be accessed in index.html to inject the correct title.
     // it can be accessed in index.html to inject the correct title.