fix - store no available to context on client side

This commit is contained in:
evseevnn 2017-03-25 12:30:23 +07:00
parent 8ec4eb908f
commit 435337529a
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ Promise.all(resolveComponents)
.then((Components) => { .then((Components) => {
const _app = new Vue(app) const _app = new Vue(app)
let context = getContext({ to: router.currentRoute, isClient: true, store }) let context = getContext({ to: router.currentRoute, isClient: true<%= (store ? ', store' : '') %> })
let layoutName = 'default' let layoutName = 'default'
return callMiddleware.call(_app, Components, context) return callMiddleware.call(_app, Components, context)
.then(() => { .then(() => {