Skip to content
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

vue-style-loader no more used by vue-loader@next #56

Open
TechAkayy opened this issue Jul 20, 2021 · 2 comments
Open

vue-style-loader no more used by vue-loader@next #56

TechAkayy opened this issue Jul 20, 2021 · 2 comments

Comments

@TechAkayy
Copy link

TechAkayy commented Jul 20, 2021

package.json in vue-loader@next has dropped vue-style-loader and instead has just style-loader.. Is this the end of vue-style-loader? Would be good to get clarity on this to plan ahead.. thanks!

https://github.com/vuejs/vue-loader/blob/next/package.json#L70

Reference of a previously closed related query: #42

@TechAkayy TechAkayy changed the title vue-style-loader no more in vue-loader@next vue-style-loader no more used by vue-loader@next Jul 20, 2021
@LongJinCen
Copy link

please see vue-loader@v16.0.0-rc.2 changlog。vue-style-loader hasn't been not updated for Vue 3 yet. Please use mini-css-extract-plugin for CSS extraction

@phoenix-ru
Copy link

phoenix-ru commented Sep 28, 2021

@LongJinCen Is there any info about using vue-style-loader for Vue 3 with SSR?

mini-css-extract-plugin works fine for static css, but fails when you need to inline styles or get them from dynamic locations (such as Webpack 5's Module Federated applications).

The only solution I actually found is incredibly hacky and requires lots of adjustments in vue-style-loader and also writing own loaders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants