mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
fix - store no available to context on client side
This commit is contained in:
parent
c4962f09a9
commit
8ec4eb908f
@ -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 })
|
||||
let layoutName = 'default'
|
||||
return callMiddleware.call(_app, Components, context)
|
||||
.then(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user