tailwind css installed but not working in my vite + react project #12312
-
What version of Tailwind CSS are you using? What build tool (or framework if it abstracts the build tool) are you using? vite What version of Node.js are you using? v20.6.1 What browser are you using? chrome What operating system are you using? macos Describe your issue my project use vite + react (i create project select vanilla js and after add react to it ) look this screenshot, none class's css can be find in the style pane |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 33 replies
-
Hey! Did you update your content config? It looks to me like utilities aren't being generated because it isn't scanning any files. |
Beta Was this translation helpful? Give feedback.
-
hey, my tailwind is working but suggestion is not working, i have the tailwind intelligence installed but still I'm not getting any suggestions. Need help. |
Beta Was this translation helpful? Give feedback.
-
Make sure don't have spaces here:
I apparently had it as |
Beta Was this translation helpful? Give feedback.
-
@amoeba25 thanks so much for the react-ts solution. it worked |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@na-zi-ya did you import
In your index.css file? If not do so |
Beta Was this translation helpful? Give feedback.
Hey! Did you update your content config? It looks to me like utilities aren't being generated because it isn't scanning any files.