you can go through the documentation there is structured steps that you can follow
rm -rf node_modules package-lock.json
npm install
npx tailwindcss init -p
if this will not working
@tailwind base; @tailwind components; @tailwind utilities; and import this file in index.css root file This will work