79685270

Date: 2025-06-30 20:45:44
Score: 1
Natty:
Report link

delete the postcss.config.js file

And then npm i -d @tailwindcss/vite, and also change the vite.config.ts file

...
import tailwindcss from "@tailwindcss/vite";

export default defineConfig(async () => ({
    plugins: [
        react(),
        tailwindcss(),
    ],
...
...

after that, just add @import "tailwindcss"; in your css file and you'll be chilling like a villain

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: john shmith