From e06aaaecc524c0eb2166d4ae5c221c21111e6498 Mon Sep 17 00:00:00 2001 From: Wu Haotian Date: Thu, 7 Sep 2017 10:46:28 +0800 Subject: [PATCH] rename `context.serverState` to `context.nuxtState` --- lib/app/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }