Nuxt/examples/tailwindcss-purgecss/tailwind.config.js

21 lines
391 B
JavaScript
Raw Normal View History

const path = require('path')
module.exports = {
purge: {
enabled: true,
content: [
path.join(__dirname, './pages/**/*.vue'),
path.join(__dirname, './layouts/**/*.vue'),
path.join(__dirname, './components/**/*.vue')
],
options: {
whitelist: ['html', 'body', 'nuxt-progress']
}
},
theme: {
extend: {}
},
variants: {},
plugins: []
}