Ajouter Tailwindcss à Angular
npx tailwindcss init
Bright Badger
npx tailwindcss init
npm install -D tailwindcss
#or yarn
yarn add tailwindcss -D
module.exports = {
mode: 'jit',
purge: {
enabled: true,
content: ['./src/**/*.{html,ts}']
}
}
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
module.exports = {
mode: 'jit',
purge: [
// ...
]
// ...
}