StatsHub Docs
General

Web guides

Add and verify Pages Router features.

Add a page

  1. Add the route under apps/web/src/pages.
  2. Put reusable UI in src/components and server-only logic in src/server.
  3. Add API work under src/pages/api unless the Go port already owns it.
  4. Put the complete filter set in the feature's filter panel.
  5. Run pnpm check and pnpm build, then inspect the route in a browser.

Use the preview guide on the remote development box; a localhost link opens on the reader's machine, not the server.

On this page