Steps to install Tailwind React project with Vite
1. pnpm create vite@latest project-name -- --template react
2. cd my-project
3. pnpm install
4. pnpm install -D tailwindcss postcss autoprefixer
5. npx tailwindcss init -p
6. Add the paths to all of your template files in your tailwind.config.js file...
jaygupta.hashnode.dev1 min read