Pages Router

The original Next.js router, where files in pages/ became routes and data was loaded with special functions.

In more detail

The Pages Router renders every component in the browser as well as on the server and uses API routes for back-end endpoints. The App Router replaces these with Server Components and Route Handlers.

Related terms

Taught in

References