mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
454a9af242
Co-authored-by: Daniel Roe <daniel@roe.dev>
28 lines
555 B
JavaScript
28 lines
555 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: {
|
|
postcssOptions: {
|
|
plugins: {
|
|
tailwindcss: path.join(__dirname, './tailwind.config.js')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|