Skip to content

Commit

Permalink
fix: make pageContext.app available upon client-side navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 12, 2024
1 parent 94ad0be commit 83c56c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vike-vue/src/integration/onRenderClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const onRenderClient: OnRenderClientAsync = async (
} else {
// Client-side navigation

objectAssign(pageContext, { app })
await callCumulativeHooks(pageContext.config.onBeforeRenderClient, pageContext)
await changePage!(pageContext)
}
Expand Down

0 comments on commit 83c56c4

Please sign in to comment.