引入全局scss报以下错误:
来源:2-3 项目基础代码编写
慕慕9563253
2021-04-12
引入全局scss报以下错误:
ERROR Failed to compile with 1 error 下午9:10:10
error in ./src/assets/scss/index.scss
Syntax Error: SassError: Undefined variable: “$color-background”.
on line 6 of src/assets/scss/base.scss
from line 3 of /Users/hui/project/test1/musicapp/src/assets/scss/index.scss
background: $color-background;
--------------^
@ ./src/assets/scss/index.scss 4:14-234 15:3-20:5 16:22-242
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.1.103:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
2回答
-
往事随风_遇见最好的你
2021-04-19
应该是没有在vue.config.js 里面配置吧
00 -
ustbhuangyi
2021-04-12
仔细看本节课 9:00 - 10:30 的视频,为何不仔细看课程呢?
012021-04-28