Replies: 2 comments 5 replies
-
Yep! You could use a build tool like Gulp, Parcel.js, WebPack, Vite, etc. to compile the Tailwind CSS and hot reload the CSS into any open pages without a full browser reload. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I just published a package that solved this very frustrating issue that I was never able to solve using webpack. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! Today I have set up my very first tailwindcss test project 😻
The reason I waited so long before trying it out is that I'm very used to a workflow where I tweak my styles until they look great, without having hard browser reloads between style changes. That depends on the DOM staying unchanged, and the CSS being injected every time I change it. In the past, I have achieved this with various build tools (BrowserSync, Parcel.js, WebPack + webpack-livereload-plugin, ...)
Is something like this also possible with tailwindcss? I'm aware that here, the mechanism would be kind of reversed to my usual workflow. Basically I'm looking for something just like the one on the tailwindcss home page suggests:
php
) source filesI might be missing something – maybe that is already possible? I'm grateful for any hints.
Beta Was this translation helpful? Give feedback.
All reactions