Update spa settings for build

This commit is contained in:
Ramon Wenger 2018-08-08 17:49:31 +02:00
parent d999870fc8
commit ce3432dc8f
2 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,7 @@ module.exports = {
{rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Montserrat:400,800'}
]
},
mode: 'spa',
modules: ['@nuxtjs/apollo'],
apollo: {
clientConfigs: {

View File

@ -5,9 +5,9 @@
"author": "maersu <me@maersu.ch>",
"private": true,
"scripts": {
"dev": "nuxt --spa",
"build": "nuxt build --spa",
"start": "nuxt start --spa",
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"heroku-postbuild": "npm run build"
},
"dependencies": {