Please help check out some issues I'm having while adding Tailwind to my existing React app, using vite. Can someone help me check if there is something wrong with the code?
P粉162773626
2023-09-01 23:54:29
<p>Git repository - https://github.com/rbaliwal00/academia-1.git</p>
<p>Following the correct steps to add tailwind to my existing project but still not working. Most of the examples are about just downloading a sample react app with vite, but there is no proper way to add tailwind to an existing project. Can someone help me add tailwind to my project. </p>
Are you sure you have followed the 6 steps described in Tailwind Documentation?
For me, at least
postcss.config.cjs
is missing. So try runningnpx tailwindcss init -p
to initialize tailwind properly and then it should work.