Merge pull request #442 from evseevnn/master

fix - store no available in context on client side
This commit is contained in:
Sébastien Chopin 2017-03-25 12:33:21 +01:00 committed by GitHub
commit 584f3493b8

View File

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