Vite template with env setup for Vite, tailwind and vitests
The environment consists of:
npm create vite@latest my-react-app -- --template react
npm install
npm install -D tailwindcss postcss autoprefixer
npx tailwind init
create postcss.config.js
like that:
module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, }, };
npm install -D vitest