Skip to content

Instantly share code, notes, and snippets.

@ednilsonamaral
Created July 28, 2018 19:31
Show Gist options
  • Select an option

  • Save ednilsonamaral/edf3df9febeb1f144ab2b043e20cdf55 to your computer and use it in GitHub Desktop.

Select an option

Save ednilsonamaral/edf3df9febeb1f144ab2b043e20cdf55 to your computer and use it in GitHub Desktop.
module.exports = {
head: {
title: 'Plataforma',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Conteúdos' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.1.0/css/all.css' }
]
},
loading: { color: '#3B8070' },
css: [
'~/node_modules/bootstrap/scss/bootstrap-grid.scss',
'~/assets/scss/main.scss'
],
plugins: [
'~/plugins/vue-carousel.js'
],
build: {
extend (config, ctx) {
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment