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

26 lines
517 B
JavaScript
Raw Normal View History

const path = require('path')
export default {
head: {
title: 'Nuxt Tailwind CSS + Purgecss',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
2020-11-30 22:44:04 +00:00
content: 'A static site powered by Nuxt'
}
]
},
css: ['~/assets/css/tailwind.css'],
build: {
postcss: {
plugins: {
tailwindcss: path.join(__dirname, './tailwind.config.js')
}
}
}
}