How to install Tailwind CSS with Vite
To install tailwind CSS with Vite, follow below given steps – Step 1: npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p Step 2: Place below given code in tailwind.config.js: /** @type {import(‘tailwindcss’).Config} */ export default { content: [ “./index.html”, “./src/**/*.{js,ts,jsx,tsx}”, ], theme: { extend: {}, }, plugins: [], } Step […]
How to install Tailwind CSS with Vite Read More »