1. npm init 2. npm install -D tailwindcss postcss autoprefixer vite 3. npx tailwindcss init -p 4. Create a css file - main.css (Anything u ca…