Nuxt/examples/global-css/nuxt.config.js

21 lines
446 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
export default {
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Meta description' }
]
},
css: [
2017-07-08 17:40:41 +00:00
'bulma/css/bulma.css',
'~/css/main.css'
2017-08-30 13:59:09 +00:00
],
render: {
bundleRenderer: {
shouldPreload: (file, type) => {
return ['script', 'style', 'font'].includes(type)
}
}
}
}