loading...

re: Setting up Tailwind With create-react-app VIEW POST

TOP OF THREAD FULL DISCUSSION
re: ===I did everything except adding these: "scripts": { //... place these after the four scripts created by CRA "build:styles": "postcss tai...
 

The error says that tailwind.css could not be found. There should be src/ before tailwind.css.

"scripts": {
//... place these after the four scripts created by CRA
"build:styles": "postcss src/tailwind.css -o src/styles.css",
"prebuild": "NODE_ENV=production npm run build:styles",
"prestart": "npm run build:styles"
},

code of conduct - report abuse