Replies: 2 comments
-
If you follow the Vite install guide, it suggests to run the command: npx tailwindcss init -p Notice the
Again, the aforementioned guide for Vite suggests installing dependencies via the command: npm install -D tailwindcss postcss autoprefixer This should install the minimum necessary packages, which includes PostCSS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using TailWind with Vite + React , running the npx tailwindcss init doesnt generate the postcss config, also postcss isn't getting installed . I have followed both guides for React and Vite, setting things up manually gets it to work.
Beta Was this translation helpful? Give feedback.
All reactions