We are using this config for our Meteor/react project and while it works locally we can't manage to have it work in production. Any idea what could be the cause ? None of the styling exists when live.
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).
Hey,
We are using this config for our Meteor/react project and while it works locally we can't manage to have it work in production. Any idea what could be the cause ? None of the styling exists when live.
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