diff --git a/lib/app/utils.js b/lib/app/utils.js index f95618c886..d98304dd73 100644 --- a/lib/app/utils.js +++ b/lib/app/utils.js @@ -109,7 +109,7 @@ export function getContext (context, app) { ctx.beforeNuxtRender = (fn) => context.beforeRenderFns.push(fn) } if (ctx.isClient && window.__NUXT__) { - ctx.serverState = window.__NUXT__ + ctx.nuxtState = window.__NUXT__ } return ctx }