Concept Flow - Why file-based routing simplifies navigation
Create file in pages/ folder
File name becomes URL path
Astro reads files on build
Automatically generate routes
User navigates using URLs
Astro loads matching page component
Page content renders in browser
File-based routing means each file in the pages folder becomes a URL path automatically, so navigation is simple and automatic.
