Hi,
Have you found a solution for your Meteor/react project. I'm bumping my head against the same problem. Copying all tailwindcss to the main.css file seems to be a very stupid solution (though it works).
the main problem was to make sure all the javascript files are in the purge in tailwind.config.js and not only your entry point.
In our case we have:
./client/ * * / * .html ./client/ * * / * .jsx ./client/ * * / * .js ./imports/ui/ * * / * .js ./imports/ui/ * * / * .jsx
don't keep the space between the * but there was auto restyling if I was putting them together
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
Have you found a solution for your Meteor/react project. I'm bumping my head against the same problem. Copying all tailwindcss to the main.css file seems to be a very stupid solution (though it works).
the main problem was to make sure all the javascript files are in the purge in tailwind.config.js and not only your entry point.
In our case we have:
./client/ * * / * .html
./client/ * * / * .jsx
./client/ * * / * .js
./imports/ui/ * * / * .js
./imports/ui/ * * / * .jsx
don't keep the space between the * but there was auto restyling if I was putting them together