You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not exactly a feature request, but also not a bug.
Currently <style> tags do not work if following any of the documentation examples. This is due to the fact that vue-style-loader does not support css-loader 4.x.x or 5.x.x (vuejs/vue-style-loader#50, vuejs/vue-style-loader#46).
What does the proposed API look like?
It seems it can easily be fixed by disabling esModule:
{loader: 'css-loader',options: {esModule: false}}
I can open a PR to fix these issues, but I'm not sure if that's wanted, since it's a issue with vue-style-loader, and it adds a bit of complexity to new users. At the same time, the current examples are not working at all, and vue-style-loader repo's last commit was in 2018... so not sure if those issues are going to be fixed.
EDIT: We can also change the npm install ... lines to install css-loader@3, and add an explanation on why you need to use an older version.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Not exactly a feature request, but also not a bug.
Currently
<style>
tags do not work if following any of the documentation examples. This is due to the fact thatvue-style-loader
does not supportcss-loader
4.x.x or 5.x.x (vuejs/vue-style-loader#50, vuejs/vue-style-loader#46).What does the proposed API look like?
It seems it can easily be fixed by disabling
esModule
:I can open a PR to fix these issues, but I'm not sure if that's wanted, since it's a issue with
vue-style-loader
, and it adds a bit of complexity to new users. At the same time, the current examples are not working at all, andvue-style-loader
repo's last commit was in 2018... so not sure if those issues are going to be fixed.EDIT: We can also change the
npm install ...
lines to installcss-loader@3
, and add an explanation on why you need to use an older version.The text was updated successfully, but these errors were encountered: