You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've discovered that prefixing the composition path with sass-loader! does the trick, but it still shouldn't be necessary since these are .scss files. So this works:
<stylelang="scss" module>
.bar {
composes: foo from 'sass-loader!./foo.module.scss';
}
</style>
Version
3.0.0-beta.6
Reproduction link
https://github.com/nathantreid/vue-cli-composes-issue
Steps to reproduce
Create a scss module file with scss-specific syntax such as a variable (
foo.module.scss
):Compose it into your Vue file:
What is expected?
The SCSS should be transpiled, the style should be applied, and the text color should be blue.
What is actually happening?
The SCSS is pulled in untranspiled, so the CSS is invalid and is not applied.
The linked reproduction consists of 3 commits:
The text was updated successfully, but these errors were encountered: