Closed lydamian closed 1 month ago
Hey! This is unnecessary if you use npx tailwindcss init -p
(like we do in the guide) which creates a postcss.config.js
file with Tailwind preconfigured. Vite will read that file, the config doesn't need to be in the Vite config file for it to work 👍
Missing documentation: Vite config needs these fields to work properly
Steps to reproduce Follow the steps in this link here https://tailwindcss.com/docs/guides/vite Snapshot here for history
See relevant discussion here https://stackoverflow.com/a/77557221