filmov
tv
How To Add Tailwindcss To An Existing React Project
Показать описание
1. npm install -D tailwindcss
2. npx tailwindcss init
content: ["./src/**/*.{html,js,jsx}"],
theme: {
extend: {},
},
plugins: [],
}
4. Add to your highest css file:
@tailwind base;
@tailwind components;
@tailwind utilities;
5. Enjoy tailwindcss 🎉
2. npx tailwindcss init
content: ["./src/**/*.{html,js,jsx}"],
theme: {
extend: {},
},
plugins: [],
}
4. Add to your highest css file:
@tailwind base;
@tailwind components;
@tailwind utilities;
5. Enjoy tailwindcss 🎉