From 4b459c9974af9a08e23777e3ae9718959d95569e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Fri, 2 Aug 2019 23:58:10 +0200 Subject: [PATCH] Fix depreciation warnings I couldn't see any difference in using `transition`, `pageTransition` or neither of those, so I decided to disable the configuration completely. --- webapp/nuxt.config.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index e9f34d1be..92ecfdb98 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -21,10 +21,10 @@ module.exports = { modern: !dev ? 'server' : false, - transition: { - name: 'slide-up', - mode: 'out-in', - }, + // transition: { + // name: 'slide-up', + // mode: 'out-in', + // }, env: { // pages which do NOT require a login @@ -162,7 +162,9 @@ module.exports = { // Give apollo module options apollo: { tokenName: 'human-connection-token', // optional, default: apollo-token - tokenExpires: 3, // optional, default: 7 (days) + cookieAttributes: { + expires: 3, // optional, default: 7 (days) + }, // includeNodeModules: true, // optional, default: false (this includes graphql-tag for node_modules folder) // Watch loading state for all queries