We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
build.css.modules.compileType: "icss"
nuxt@2.15.4
You're likely experiencing this issue if you're:
2.15.4
@nuxtjs/tailwindcss 4
Disabling icss compile type in your build options should fix the issue (but might introduce others if you're relying on SASS, see: nuxt/nuxt#9014):
icss
// nuxt.config.js export default { /* ... */ build: { loaders: { css: { modules: false, }, }, } }
Hey there, this is a compilation of the following issues (I'm pretty sure they all relate to this one, although debunking may happen):
Basically what's happening is that HMR is broken on Nuxt builds relying on PostCSS 8 since the change to css-loader compile type on Nuxt 2.15.4:
css-loader
Disabling icss brings HMR back to life.
minimal.zip
~/pages/index.vue
Testing temporary fix:
nuxt.config.js
HMR should be working~
HMR doesn't work 😱
Let me know if anything!
The text was updated successfully, but these errors were encountered:
you save my life!!!!!!!!!!!!!!
Sorry, something went wrong.
No branches or pull requests
TL;DR; Temporary Fix
You're likely experiencing this issue if you're:
2.15.4
or later;@nuxtjs/tailwindcss 4
, your are).Disabling
icss
compile type in your build options should fix the issue (but might introduce others if you're relying on SASS, see: nuxt/nuxt#9014):Versions
About
Hey there, this is a compilation of the following issues (I'm pretty sure they all relate to this one, although debunking may happen):
Basically what's happening is that HMR is broken on Nuxt builds relying on PostCSS 8 since the change to
css-loader
compile type on Nuxt 2.15.4:Disabling
icss
brings HMR back to life.Reproduction
minimal.zip
Steps to reproduce
~/pages/index.vue
nuxt.config.js
~/pages/index.vue
What is Expected?
HMR should be working~
What is actually happening?
HMR doesn't work 😱
Let me know if anything!
The text was updated successfully, but these errors were encountered: