Fix context.app in client-side

This commit is contained in:
Sebastien Chopin 2017-07-28 10:21:58 +02:00
parent 8c354c085c
commit 28d0e72641

View File

@ -182,9 +182,8 @@ async function render (to, from, next) {
<% if (store) { %>store,<% } %> <% if (store) { %>store,<% } %>
isClient: true, isClient: true,
next: _next.bind(this), next: _next.bind(this),
error: this.error.bind(this), error: this.error.bind(this)
app }, app)
})
this._context = context this._context = context
this._dateLastError = this.$options._nuxt.dateErr this._dateLastError = this.$options._nuxt.dateErr
this._hadError = !!this.$options._nuxt.err this._hadError = !!this.$options._nuxt.err