reactjsclass

tailwindcss not working in create-react-app


I am using tailwindcss for the first time and especially in a react app. I followed the documentation, read some articles and watched some videos. I have my react-app running but tailwindcss classes do not reflect on the application. I have restarted the project from scratch severally but I still face the same issue. Here is my package.json

enter image description here


Solution

  • I fixed this issue by reinstalling autoprefixer@^9.8.6. This video pointed out rightly https://youtu.be/v6Sy6VP2yOc