Les informations ci-dessous proviennent de la documentation officielle de Tailwind CSS.
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
/** @type {import('tailwindcss').Config} */export default { theme: { extend: {}, }, plugins: [],}
export default { plugins: { tailwindcss: {}, autoprefixer: {}, },}
/** @type {import('tailwindcss').Config} */export default { content: [ "./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}", ], theme: { extend: {}, }, plugins: [],}
@tailwind base;@tailwind components;@tailwind utilities;