Resources Dev.

Loading session...

nextjs

Version: v15

Routing in v15

Master the file-based routing system in Next.js 15 App Router.

Routing in Next.js 15

Next.js uses a file-system based router where folders are used to define routes.

Creating Routes

Each folder in the app directory represents a route segment that maps to a URL segment.

  • app/page.tsx -> /
  • app/blog/page.tsx -> /blog
  • app/blog/[slug]/page.tsx -> /blog/:slug
PreviousIntroduction to v15
FinishedCourse Completed!