svelte-router
A minimalistic svelte router component
Usage
Features
- Hash based one level routing
- Passing one parameter per route via
#/someroute/:id
- No dependencies
- Less than 50 lines of Svelte code
- Everything is contained in one small copyable file (no npm required)
Credits
This is basically a more minimal version of ItalyPaleAle/svelte-spa-router, which I used so far.