React + Vite + Tailwind + Material Tailwind

How to create the same project yourself:

  1. Install vite - follow the instructions. React + TS
npm create vite@latest
  1. Install tailwind as dev dependency

See guide on https://tailwindcss.com/docs/guides/vite?ref=material-tailwind

npm install -D tailwindcss postcss autoprefixer
  1. Initialize tailwind
npx tailwindcss init -p
  1. Install @material-tailwind/react
npm install @material-tailwind/react
  1. Get started
npm run dev
  1. Run a build
npm run build