-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
vue/cli4升级sass-loader 9.0使用全局注入sass变量后样式消失(vue/cli4对sass-loader 9.0版本的支持问题) #5648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this problem just happened to me right now, my OS is elementary OS. but is just an update from |
感谢老哥,帮了我大忙,已经在框架首页加上了感谢信息,以后有任何需要都可以联系我。 |
@chuzhixin 不客气 |
@sodatea 这种方式用起来是没问题的 #5656 ,这里有个 demo 可以直接验证。@chuzhixin 你项目里这样用起来有问题是因为重复导入了 我认为这本身和 additionalData 配置无关,只是用法上的问题或者为了兼容项目。
这种方式用来处理重复导入本身没有问题,但我觉得这不应该是被推荐的做法。 |
感谢大佬解惑,我去试下你说的方案 |
Version
4.4.6
Reproduction link
https://github.com/chuzhixin/vue-admin-beautiful
Environment info
Steps to reproduce
将sass-loader升级至9.0,安照sass-loader9.0文档将8.0 prependData选项修改为additionalData,运行成功但样式全部失效
What is expected?
希望vue/cli文档跟进sass-loader 9.0支持
What is actually happening?
vue/cli文档暂不支持sass-loader 9.0
The text was updated successfully, but these errors were encountered: