From f8e99cb2a05ea58a73c8d84bafcdaed1cd3b7e90 Mon Sep 17 00:00:00 2001 From: phanes <5411232+phanes@user.noreply.gitee.com> Date: Tue, 14 Dec 2021 17:54:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20element=20ui=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=90=8E=E5=AD=97=E4=BD=93=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E4=B9=B1=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/package.json | 2 +- ruoyi-ui/vue.config.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 662bfb02d..7924b3275 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -71,7 +71,7 @@ "eslint-plugin-vue": "7.2.0", "lint-staged": "10.5.3", "runjs": "4.4.2", - "sass": "1.32.13", + "sass": "1.39.0", "sass-loader": "10.1.1", "script-ext-html-webpack-plugin": "2.1.5", "svg-sprite-loader": "5.1.1", diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 73c217777..b43adb71c 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -42,6 +42,15 @@ module.exports = { }, disableHostCheck: true }, + css: { + loaderOptions: { + sass: { + sassOptions: { + outputStyle: 'expanded' + } + } + } + }, configureWebpack: { name: name, resolve: {