mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
34 lines
732 B
TypeScript
34 lines
732 B
TypeScript
import { Page } from '#types/Page'
|
|
import { PageProps } from '#types/PageProps'
|
|
|
|
export type {
|
|
PageContextServer,
|
|
|
|
// When using Client Routing https://vike.dev/clientRouting
|
|
PageContextClient,
|
|
PageContext as VikePageContext,
|
|
PageContextBuiltInClientWithClientRouting as PageContextBuiltInClient,
|
|
// When using Server Routing
|
|
/*
|
|
PageContextClientWithServerRouting as PageContextClient,
|
|
PageContextWithServerRouting as PageContext,
|
|
*/
|
|
//* /
|
|
} from 'vike/types'
|
|
|
|
export type PageContext = {
|
|
Page: Page
|
|
pageProps?: PageProps
|
|
urlPathname: string
|
|
exports: {
|
|
documentProps?: {
|
|
title?: string
|
|
description?: string
|
|
}
|
|
}
|
|
documentProps?: {
|
|
title: string
|
|
description?: string
|
|
}
|
|
}
|