Single Page Application with svelte-spa-router

Here’s how you can create a single-page application in Svelte and implement a routing mechanism with svelte-spa-router.