We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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组件里用sass写样式,外联sass样式在webpack.config里配置loader没问题的。
但在内联写sass就不行,需要在其他地方有什么配置么?
问题:编译报错,内联无法渲染样式,
The text was updated successfully, but these errors were encountered:
ERROR in .//css-loader!.//vue-loader/lib/style-rewriter.js!.//sass-loader?indentedSyntax!.//vue-loader/lib/selector.js?type=style&index=0!./src/views/home.vue Module build failed: ^ Invalid CSS after ".container {": expected "}", was "{" in /Users/yangmingming/LiaoXinWang/LiaoXinWang-WeChat/src/views/home.vue (line 3, column 13) @ .//vue-style-loader!.//css-loader!.//vue-loader/lib/style-rewriter.js!.//sass-loader?indentedSyntax!./~/vue-loader/lib/selector.js?type=style&index=0!./src/views/home.vue 4:14-256 13:2-17:4 14:20-262
Sorry, something went wrong.
内联在style 标签后面加 lang="sass"
No branches or pull requests
Vue组件里用sass写样式,外联sass样式在webpack.config里配置loader没问题的。
但在内联写sass就不行,需要在其他地方有什么配置么?
<style lang="sass">..</style>问题:编译报错,内联无法渲染样式,
The text was updated successfully, but these errors were encountered: