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.
Lesson 2 of 4 · 18 min
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.