Nuxt/examples/global-css/nuxt.config.js
2018-03-16 19:42:06 +03:30

21 lines
446 B
JavaScript

export default {
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)
}
}
}
}