0

i am trying to setup tailwindcss intellisense in my vite react typescript project but it doesn't work correctly, it shows me these classes instead: enter image description here

I browsed through stackoverflow for answers and already tried installing HTML CSS Extension and adding code the settings.json. However it didn't work right. It seems that the intellisense is reading a wrong config.

Bryan Hain
  • 137
  • 1
  • 9
  • Does this answer your question? [Tailwind CSS IntelliSense does not provide suggestions in a ReactJS project?](https://stackoverflow.com/questions/63190041/tailwind-css-intellisense-does-not-provide-suggestions-in-a-reactjs-project) – Ahmed Shaqanbi Jan 29 '23 at 21:33

1 Answers1

0

After upgrading Visual Studio Code, it worked.

Also, i can not explain why, but it helped for me to rename my tailwind.config.js to tailwind.config.cjs

Bryan Hain
  • 137
  • 1
  • 9