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(),
],
...
...