mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
26 lines
517 B
JavaScript
26 lines
517 B
JavaScript
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',
|
|
content: 'A static site powered by Nuxt'
|
|
}
|
|
]
|
|
},
|
|
|
|
css: ['~/assets/css/tailwind.css'],
|
|
build: {
|
|
postcss: {
|
|
plugins: {
|
|
tailwindcss: path.join(__dirname, './tailwind.config.js')
|
|
}
|
|
}
|
|
}
|
|
}
|