-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
2.0.8 vue-template-compiler breaks scoped css #4266
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
Comments
If this only happens with vue-class-component, please open an issue in that repo. Also, please follow the guidelines on how to report an issue. In particular, provide an example on www.jsfiddle.net (or a similar service) that reproduces the problem. If nessessary, create a repository for us to clone, with a minimal reproduction. repositories of actual projects will generally not be accepted . Thank you. |
the issue is with view-template-compiler tho, so i moved the bug here, it is also 'caused' by vue-router being present too. Obv. i can move it if you want tho |
Here is an example repo |
Haven't looked into the details but I suspect it may have to do with |
I'll look into it. |
When using vue-class-component library with vue-router in 2.0.8, dom elements are not being id'd and therefore the 'scoped' css is broken.
To replicate, simply install VueRouter in a test project that exports using the js like:
"vue": "^2.0.8",
"vue-class-component": "^4.3.1",
"vue-router": "^2.0.3"
I also find it impossible to roll back vue (i want to roll back to 2.0.7) because the vue-loader library which is a dependancy of vue has a subdependancy of vue-template-compiler@^2.0.5 which will then just install the latest, and throw a version mismatch error. It would be nice to be able to lock to an older version
The text was updated successfully, but these errors were encountered: