mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: Give back payload for generate
This commit is contained in:
parent
23e1c3fd06
commit
023f000e24
@ -111,6 +111,7 @@ async function createApp (ssrContext) {
|
|||||||
next,
|
next,
|
||||||
error: app.nuxt.error.bind(app),
|
error: app.nuxt.error.bind(app),
|
||||||
<% if (store) { %>store,<% } %>
|
<% if (store) { %>store,<% } %>
|
||||||
|
payload: ssrContext ? ssrContext.payload : undefined,
|
||||||
req: ssrContext ? ssrContext.req : undefined,
|
req: ssrContext ? ssrContext.req : undefined,
|
||||||
res: ssrContext ? ssrContext.res : undefined,
|
res: ssrContext ? ssrContext.res : undefined,
|
||||||
beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined
|
beforeRenderFns: ssrContext ? ssrContext.beforeRenderFns : undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user