Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add documentation section for vite setup #1905

Closed
wants to merge 1 commit into from

Conversation

WellingtonNico
Copy link

Hello guys, I just created a new react vite project to play with tailwind, I followed the documentation but it was not enough to make things working, so I added what was missing in the docs.

great job, be happy!

Copy link

vercel bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 3:14pm

@philipp-spiess
Copy link
Member

Hey! Configuring a PostCSS setup separately to the postcss.config.js file that npx tailwindcss@3 init -p should not have been necessary. Did you run the init command back then?

Nevertheless we are no longer recommending the use of Vite with PostCSS since the release of Tailwind CSS v4 and the new @tailwindcss/vite plugin: https://tailwindcss.com/docs/upgrade-guide#using-vite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants