-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
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
Vue-Nuxt Hot reloading JIT mode does not work via Nuxt Module comments #4962
Comments
iam change scss to css and fixed my problem interested. scss very slow and dont hot reloading. via https://github.com/nuxt-community/tailwindcss-module
|
Hey @productfrontenddeveloper. We have looked into the hot reload problem and tracked it down to an issue when using PostCSS 8 with Nuxt. You can see details and a reproduction of the issue here: nuxt/postcss8#18 – this issue is not Tailwind-specific and happens with any CSS file. Unfortunately we won't be able to fix this within the
Here's a basic setup for reference: https://github.com/bradlc/jit-nuxt Going to close this because it isn't an issue with Tailwind, but hopefully the above is helpful! |
cc: @atinux |
Workaround to keep using @nuxtjs/tailwindcss without issue (nuxt-modules/tailwindcss#357 (comment)) |
there is a way but i don't know how to do it , we can register a listner on the reload (save) and we save the index.scss or any scss file this will force the browser to show changes |
What version of Tailwind CSS are you using?
2.2.4
What build tool (or framework if it abstracts the build tool) are you using?
nuxt 2.15.6
What version of Node.js are you using?
node 14
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
nuxt-modules/tailwindcss#357 (comment)
Describe your issue
Reproduction1: nuxt-modules/tailwindcss#357 (comment)
Reproduction2: nuxt-modules/tailwindcss#357 (comment)
I also live in my own project.
The text was updated successfully, but these errors were encountered: