...
/Flexible Filesystem-Based Routing
Flexible Filesystem-Based Routing
Get an overview of the flexible filesystem-based routing in Sapper.
We'll cover the following...
Sapper’s flexible filesystem-based routing provides us with the following two types of parameters:
- Static parameters
- Dynamic parameters
Static parameters
To render an /​about​
page, you can create either of the following two Svelte files using​ the conventionally defined route src/routes
:
src/routes/about.svelte
src/routes/about/index.svelte
The behavior of ​ ...