adrianhajdin / project_syncfusion_dashboard

This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a an admin dashboard app using React.js and Syncfusion
https://jsmastery.pro
GNU Affero General Public License v3.0
3.04k stars 1.05k forks source link

Tailwind not working #9

Closed SidJ11 closed 2 years ago

SidJ11 commented 2 years ago

I've tried multiple of things to make it work, but seems like tailwind isn't connecting to my project. Any fixes ?

SidJ11 commented 2 years ago

I created tailwind.config.js and postcss.config.js with npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p

then replaced content of tailwind.config.js with content: [ "./src/*/.{js,jsx,ts,tsx}", ], and then pasted rest of the code built the app again and it worked.

Don't know why, but this worked for me. try it if you face the same issue