Home  >  Q&A  >  body text

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>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>
P粉162773626P粉162773626436 days ago541

reply all(1)I'll reply

  • P粉759451255

    P粉7594512552023-09-02 11:39:11

    Are you sure you have followed the 6 steps described in Tailwind Documentation?

    For me, at least postcss.config.cjs is missing. So try running npx tailwindcss init -p to initialize tailwind properly and then it should work.

    reply
    0
  • Cancelreply