What is Dynamic route?
One page file that creates many pages, with square brackets in its name.
A file like src/pages/blog/[id].astro can create a page for every blog post. Its getStaticPaths function tells Astro which pages to make.
Free Astro tutorials for complete beginners.
Beginner's Guide to Astro
One page file that creates many pages, with square brackets in its name.
A file like src/pages/blog/[id].astro can create a page for every blog post. Its getStaticPaths function tells Astro which pages to make.