Concept Flow - Pages and file-based routing
Start: App loads
Router reads URL
Look for matching file in /pages
File found
Load component
Render page component
User navigates -> Router updates URL -> Repeat
The router reads the URL, finds the matching page file, loads its component, and renders it. If no file matches, it shows a 404 page.