Skip to content
You are currently viewing documentation for the canary channel of Next.js

Routing

The Pages Router has a file-system based router built on concepts of pages. When a file is added to the pages directory it's automatically available as a route. Learn more about routing in the Pages Router: