mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
remove comments
This commit is contained in:
parent
4dd2805eaa
commit
07172a3887
@ -54,11 +54,8 @@ function createApp(pageContext: VikePageContext & PageContext, isClient = true)
|
||||
},
|
||||
})
|
||||
|
||||
// When doing Client Routing, we mutate pageContext (see usage of `app.changePage()` in `_default.page.client.js`).
|
||||
// We therefore use a reactive pageContext.
|
||||
const pageContextReactive = reactive(pageContext)
|
||||
|
||||
// Make pageContext available from any Vue component
|
||||
setPageContext(app, pageContextReactive)
|
||||
|
||||
return { app, i18n }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user