In this post, we will see how to resolve Tailwind class not working in a React project (Bootstrap previously installed)
Question:
I am working in a React project where I had to merge another project with a existing one. So I transferred all the components, Assets & installed all the packages. But particularly tailwind css classes are not working in this project. (Note: This project uses bootstrap also)So the question now is how I can run tailwind in this project?
package.json
Thanks in advance!
Best Answer:
0I went through most of the suggestions and obviously none were going to work if i had a spelling mistake,
It was a simple s missing , please check your spelling
I hope this helps
also try to do this again install it
step 1 :-
npm install react-scripts@latest
step 3 :-
If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com