-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Style-vars-2 v-bind feature doesn't work with Composition API #3688
Comments
I'm having this very issue running vue 3.2.4
Error in browser:
If I remove this v-bind, I don't get this error but then I don't get the desired effect of having state driven CSS |
Resolved. I realized that when i updated to vue 3.2.4 my devDependency for compiler-sfc did NOT automatically update so i had to manually run |
Version
3.0.11
Reproduction link
https://codesandbox.io/s/epvsl
Steps to reproduce
With the following template:
1 - Create a component using dynamic CSS style based on the Options API.
2 - Create a component using dynamic CSS style based on the Composition API.
What is expected?
CSS v-bind feature should work using both Options and Composition API.
What is actually happening?
CSS v-bind feature doesn't work with the Composition API.
The following error is printed:
The text was updated successfully, but these errors were encountered: