Flexible Filesystem-Based Routing

Get an overview of the flexible filesystem-based routing in Sapper.

Sapper’s flexible filesystem-based routing provides us with the following two types of parameters:

  1. Static parameters
  2. 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 ​ ...