Creating Pages with Astro’s File-Based Routing
Learn about Astro’s file-based routing, URL generation, static routes, and navigation between them.
We'll cover the following
Astro uses file-based routing to generate URLs. This means that URLs will be generated based on the name of the file. All routes must be created inside the src/pages
folder. To get a better understanding of how routes are generated, take a look at the table below:
Get hands-on with 1400+ tech skills courses.