Routing Library
"
sv-routeris a feature-rich yet intuitive routing library for Svelte single-page apps.
- ๐ Typesafe navigation: Get autocomplete and type checking for your routes.
- ๐ Flexibility: Choose between code-based or file-based routing approaches.
- ๐ฟ Nested routes: Create complex layouts with ease.
- ๐ Reactive search params: For simpler state management in the URL.
- ๐ก๏ธ Hooks: For navigation guards, data loading, or analytics tracking.
- โก Performance: Optimized for speed with built-in code splitting and preloading.
- ๐งฉ Familiar API: Follows established conventions from popular meta frameworks.
- ๐ชถ Lightweight: Minimal impact on your bundle size.
- ๐ Made for Svelte 5: True Svelte 5 implementation with the latest features.
- #๏ธโฃ Hash-based routing: Hash-based routing enables usage in local environments.
Whether you're building a small project or a complex application, sv-router provides the tools you need without the overhead of a full-stack framework."
Colin Lienard
@colinlienard