Skip to content

Instantly share code, notes, and snippets.

@fernyettheplant
Created April 14, 2018 21:23
Show Gist options
  • Save fernyettheplant/c4edd7490ae0632172b74e7d2495f116 to your computer and use it in GitHub Desktop.
Save fernyettheplant/c4edd7490ae0632172b74e7d2495f116 to your computer and use it in GitHub Desktop.
Nuxt Config for Serverless Side Rendering
module.exports = {
head: {
title: 'Serverless Side Rendering',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project with Serverless' }
]
},
build: {
vendor: ['axios']
},
srcDir: 'src/',
performance: {
gzip: false
},
router: {
base: '/dev/'
},
dev: false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment