Components
<Page>
The <Page>
component takes a Makeswift snapshot and renders React elements using components registered with the runtime.
Props
snapshot
Snapshot
requiredA Makeswift snapshot to render.
Example
App Router
The following example sets up a catch all dynamic route in the app router under [[...path]]/page.tsx
.
src/app/[[...path]]/page.tsx
Pages Router
The following example sets up a catch all dynamic route in the pages router under [[...path]].tsx
.
Was this page helpful?