DEV Community

loading...

Discussion on: Setting up Tailwind With create-react-app

Collapse
peoray profile image
Emmanuel Raymond

Great article, just one small error I noticed.
In your package.json file:
You omitted the src path for tailwind.css and this will cause an error when starting the app
Instead of this:
"build:styles": "postcss tailwind.css -o src/styles.css",
Do this:
"build:styles": "postcss src/tailwind.css -o src/styles.css",

This shoud be corrected in the article :)

Collapse
hagnerd profile image
Matt Hagner Author

Very good catch :D