DEV Community

Discussion on: How to set up tailwindcss with create-react-app + jit feature

Collapse
 
mizanmahi profile image
Mizan Mahi • Edited

Getting this error while running npm start

npm start

cra-tailwindcss-jit-craco@0.1.0 start
TAILWIND_MODE=watch craco start

'TAILWIND_MODE' is not recognized as an internal or external command,
operable program or batch file.

Collapse
 
akov profile image
Ako

sorry for late response, I think you are on windows. just install cross-env and change the start script in package.json to this:
"start": "cross-env TAILWIND_MODE=watch craco start"