DEV Community

loading...

Discussion on: How to use Tailwind with Create React App and PostCSS with no hassle

Collapse
andrewmcodes profile image
Andrew Mason

Tailwind >v2.0 requires PostCSS 8. You should just be able to run yarn add -D postcss and have it working.

Collapse
sumitgupta07 profile image
sumitgupta07

This is not working for me either. Followed all steps. Below are my packages.
"@craco/craco": "^6.0.0",
"autoprefixer": "^10.2.1",
"postcss": "^8.2.3",
"postcss-cli": "^8.3.1",
"postcss-nested": "^5.0.3",
"tailwindcss": "^2.0.2"