In React for the CSS properties to work, I have to save tailwind.config.js everytime #5570
-
It does work perfectly in Next.js, but I don't know what the problem is with React, This is my package.json if it helps `{ ` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try adding - "start": "craco start",
+ "start": "TAILWIND_MODE=watch craco start", Hopefully that helps! You can read more about this here: https://tailwindcss.com/docs/just-in-time-mode#troubleshooting Hope it helps! |
Beta Was this translation helpful? Give feedback.
Try adding
TAILWIND_MODE=watch
to yourstart
script:Hopefully that helps!
You can read more about this here:
https://tailwindcss.com/docs/just-in-time-mode#troubleshooting
Hope it helps!