This responsive website provides a minimal setup to get React+Tailwindcss working in Vite with HMR and some ESLint rules.
Yet another version is based on Webpack.
Install dependencies
npm i
npm start
npm run build
About vite, please check Configuration Reference - vite.