-
Notifications
You must be signed in to change notification settings - Fork 915
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
vue-loader网站手动配置里vue-style-loader版本过低,造成css解析了不渲染到页面 #1709
Comments
Hello, thank you for taking time filling this issue! However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!). I hope to see your helper-created issue very soon! 你好,你的 issue 不符合我们所要求的格式,因此已被自动关闭。为了确保每个 issue 都提供必需的相关信息,请务必使用我们的 Issue 向导 来创建新 issue,谢谢! |
Confirmed the problem reported is valid from other sources so I'll reopen this one. (Please follow the issue template next time.) |
@leer561 谢谢您的帮助!!! Your comment has saved me a lot of time I'd been wasting trying to figure out why wouldn't vue-style-loader work. I tried to Google Translate the comment made by @leer561 and in a few words it means that the newest version of css-loader is incompatible with an outdated vue-style-loader package, so as of now only using the regular style-loader seems to work fine. |
I found the answer. Seem vue-style-loader is broken with css-loader v4. See vuejs/vue-style-loader#46. We need to disable css-loader's {
loader: 'css-loader',
options: {
esModule: false
}
} |
Saved my day!! |
谢谢,找了半天都没找到问题 |
https://vue-loader.vuejs.org/guide/#manual-setup
vue-style-loader版本过低,现在最新的css-loader一起使用,有问题,CSS无法渲染,建议换成style-loader
误导了很耽误时间
The text was updated successfully, but these errors were encountered: