#428

docs(next): fix the quick start to use getPageData

Openlahfirwants to merge intofrom
  1. The Next quick start destructures Page from createNextApp, which only returns getPageData, generateMetadata and generateStaticParams, so following it fails to build.
  2. The docs now show a page.tsx that calls getPageData and renders PageRenderer, and a client layout with NextAppProvider that no longer wraps <html> and <body>.
  3. Fixes #380. Builds on #402.

Co-authored by @Jassi2004, based on #402.

Before

Building an app from the quick start fails with "Property 'Page' does not exist", and the dev server returns a 500.

https://github.com/user-attachments/assets/e660baeb-6610-44f3-85e3-95efb22c517c

After

The same steps from the fixed docs build, and the page renders the spec.

https://github.com/user-attachments/assets/1c69080f-6afa-4e69-baea-324b6ddd468a

Activity

4
vercel[bot]20d ago

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated
json-render ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-chat-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-dashboard-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-game-engine-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-image-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-no-ai ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-react-email-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-react-pdf-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-react-three-fiber-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-remotion-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-solid-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-svelte-chat-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-svelte-demo ReadyPreview, v0Oct 23, 2026 6:01pm UTC
json-render-vue ReadyPreview, v0Oct 23, 2026 6:01pm UTC
ctateapproved changes20d ago