xxxxxxxxxx
yarn add --dev tailwindcss@latest postcss@latest autoprefixer@latest
xxxxxxxxxx
// tailwind.config.js
module.exports = {
- purge: [],
+ purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}