-
-
Notifications
You must be signed in to change notification settings - Fork 199
.enableVueLoader() doesn't handle unscoped styles #316
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
We too lost scoped styles on VueJS after moving to Encore. I'm not sure if it's a bug, but I've not been able to find a resolution on this topic either. |
We're currently upgrading to Webpack 4, which will include the latest version of the vue-loader. Let's see if that fixes things. If not, then we can dive into it. Sorry about those being missing - totally could be a bug :) |
Did you have a look into public folder where are compiled JS files? I thought my CSS from component style does not compile as well, but then I discovered it in public/js/app.css instead in public/css/app.css. However I do fail in my effort to direct it into css folder or preferable merge it with other scss files that are all merging into a single one. |
Hi, your issue may be fixed by #350 (comment) Feel free to re-opened if it's not the case and you still face this issue. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
In one of my Project i inclueded an ThirdParty-Vue-Component: DateRangePicker
Here is the source of this component: As you can see it don't uses scoped styles.
When using classic webpack-config, the style will be injected into the header of the rendered HTML page. When using webpack-encore, the style of this component is missing. where is the mistake :-)
The text was updated successfully, but these errors were encountered: