Pasang CSS Tailwind di React
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
darkrabel
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
npm install tailwindcss postcss-cli [email protected] -D
npx tailwindcss-cli@latest init
/* ./src/index.css */
@tailwind base;
@tailwind components;
@tailwind utilities;