📚 GuidesBasicsRoutingData FetchingPre-rendering (SSG)Access
pageContext
anywhereCommon IssuesMore<head>
meta tagsAuthenticationLayoutsStatic Directory (public/
)SPA, SSR, SSG, HTML-onlyEnvironment VariablesInternationalization (i18n)File StructureCustom Exports/HooksPaths AliasesPreloadHTML StreamingAPI RoutesClient-only ComponentsError HandlingDebugBuild Your Own Framework RoutingServer Routing VS Client RoutingFilesystem RoutingRoute StringRoute FunctionGuardActive LinksBase URLCatch-All RoutesRouting Precedence
🌍 DeployStatic hostsGitHub PagesCloudflare PagesNetlifyOtherServerlessCloudflare WorkersVercelAWS LambdaNetlify FunctionsFull-stackAWSDockerOther
🔌 IntegrationData fetchingApollo (GraphQL)Relay (GraphQL)Telefunc (RPC)tRPCReact QueryVue Queryurql (GraphQL)gRPCSocket.IOOtherData storeVuexReduxPiniaPullStateOtherAuthenticationAuth.jsCSS, styling, CSS frameworksTailwind CSSWindi CSSVuetifyCSS-in-JSstyled-componentsstyled-jsxMUIPrimeReactBootstrapSass / Less / StylusOtherUI frameworksReactVueSveltePreactSolidAngularOtherServerHTTPSExpress.jsDenoFastifyFirebasePM2KoahapiOtherOtherMarkdownMDXEditorTauriOther
⚙ APICore
pageContext
Global configprerender
disableAutoFullBuild
redirects
Server- & client-side.page.js
• export { Page }
• export { onBeforeRender }
throw redirect()
throw render()
Server-side.page.server.js
• export { Page }
• export { onBeforeRender }
• export { passToClient }
• export { render }
• export { prerender }
• export { doNotPrerender }
renderPage()
injectFilter()
escapeInject
prerender()
programmaticClient-side.page.client.js
• export { Page }
• export { render }
• export { clientRouting }
navigate()
reload()
prefetch()
Routing.page.route.js
_default.page.route.js
• export { filesystemRoutingRoot }
• export { onBeforeRoute }
Special pages_default.page.*
_error.page.js