From 28d0e726416319fb8ed522c3ce80f124b74c2622 Mon Sep 17 00:00:00 2001 From: Sebastien Chopin Date: Fri, 28 Jul 2017 10:21:58 +0200 Subject: [PATCH] Fix context.app in client-side --- lib/app/client.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/app/client.js b/lib/app/client.js index 5c130ad6fe..30bcd02690 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -182,9 +182,8 @@ async function render (to, from, next) { <% if (store) { %>store,<% } %> isClient: true, next: _next.bind(this), - error: this.error.bind(this), - app - }) + error: this.error.bind(this) + }, app) this._context = context this._dateLastError = this.$options._nuxt.dateErr this._hadError = !!this.$options._nuxt.err