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
2.7.11
codesandbox.io
Using CSS modules to define styles in a component.
It should not throw the error.
Reverting back to v2.7.10, it logs the actual CSS module class.
v2.7.10
It's throwing an error in console.
Current instance does not have CSS module named "$style"
The text was updated successfully, but these errors were encountered:
I've tested this locally with a new project (npm init vue@2) and I'm seeing the same problem. 2.7.10 works fine, 2.7.11 gives an error.
npm init vue@2
$style is still available in the template, so I assume it's a timing problem around when $style is populated relative to when setup is called.
$style
setup
Sorry, something went wrong.
e80cd09
No branches or pull requests
Version
2.7.11
Reproduction link
codesandbox.io
Steps to reproduce
Using CSS modules to define styles in a component.
What is expected?
It should not throw the error.
Reverting back to
v2.7.10
, it logs the actual CSS module class.What is actually happening?
It's throwing an error in console.
Current instance does not have CSS module named "$style"
The text was updated successfully, but these errors were encountered: