Nuxt/examples/global-css/nuxt.config.js
2017-08-30 18:29:09 +04:30

21 lines
448 B
JavaScript

module.exports = {
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Meta description' }
]
},
css: [
'bulma/css/bulma.css',
'~/css/main.css'
],
render: {
bundleRenderer: {
shouldPreload: (file, type) => {
return ['script', 'style', 'font'].includes(type)
}
}
}
}