Skip to content
Next.js Fundamentals

Lesson 2 of 4 · 6 min

x
2/4

Lesson position in the course — not completion. Use Mark Complete to track finished lessons (saved in this browser).

The App Router

The App Router uses a folder-based routing system inside the app directory. Each folder represents a route segment, and special files like page.tsx and layout.tsx define UI and shared structure. This outline is in progress — expect a short read until full lessons ship.

Check your understanding

  • Name two special files in an App Router segment.Show answer

    Answer

    Common ones: page.tsx (UI for the route) and layout.tsx (shared wrapper for nested segments).
  • Where do App Router routes live?Show answer

    Answer

    Inside the app directory, with folders mapping to URL path segments.
Previous

Progress is saved in this browser.

Next Lesson