npm create vite@latest ./ -- --template react
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
/** @type {import('tailwindcss').Config} / module.exports = { content: [ "./index.html", "./src/**/.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [], }
@tailwind base; @tailwind components; @tailwind utilities;
npm run dev
App.jsx export default function App() { return (
) }