The tailwind version has upgraded to v4, npx tailwindcss init -p this command will no longer work in the new update
Tailwind v4 requires @tailwindcss/vite
for Vite projects, simplifying integration without manual PostCSS setup in most cases. Using tailwindcss directly as a PostCSS plugin is deprecated.
refer this for the brief installation steps for installing v4 or continuing with the old versions.