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
Let's say we have initial webpack.config.js where options of vue-loader specified as:
{ test: /\.vue$/, loader: "vue-loader", options: { preserveWhitespace: false, loaders: { scss: "vue-style-loader!css-loader!sass-loader", // <style lang="scss"> sass: "vue-style-loader!css-loader!sass-loader?indentedSyntax" // <style lang="sass"> } } }
and in VueApp/idontneedtypescript/App.vue styles specified without lang="scss":
<style scoped> .custom-class { background: red; } </style>
Then vue-loader does not include simple css styles in extracted css file in wwwroot/dist/css/main.css.
The text was updated successfully, but these errors were encountered:
Hello,
I can confirm that this is indeed an issue. Styles added in the <style scoped> block are not included correctly and therefore do not work.
<style scoped>
CURRENT WORKAROUND: Put your style in any .css file and simply import it, it will work as intended.
.css
I will update the webpack configuration in the coming days.
Thank you for reporting this!
Sorry, something went wrong.
No branches or pull requests
Let's say we have initial webpack.config.js where options of vue-loader specified as:
and in VueApp/idontneedtypescript/App.vue styles specified without lang="scss":
Then vue-loader does not include simple css styles in extracted css file in wwwroot/dist/css/main.css.
The text was updated successfully, but these errors were encountered: