Open acomito opened 5 years ago
I've had a good experience using craco: https://github.com/sharegate/craco/tree/master/recipes/extends-post-css-plugins.
I've been trying to use tailwind on my CRA project for the last 6 hours and still couldn't figure out a way to get it working properly using postCSS + tailwind + purgeCSS (which is needed if you dont want useless, heavy styles on your production version). Would be really good to have a ready-to-go template that works out of the box
Ok, literally 5 minutes after i posted the past comment i found a template for CRA that used Tailwind in the P-E-R-F-E-C-T way i wanted, so i'll leave it here just in case that someone who is struggling to get it going - like me - can run the command and go straight into coding!
Link: https://www.npmjs.com/package/cra-template-tailwindcss
OR
just throw this command on your terminal: npx create-react-app --template tailwindcss
I'm just getting around to trying tailwind. I have a CRA application. I see several articles on the subject, but I'm not sure if there is a current consensus?
Some articles I've found: