An SPA router for Svelte that allows you to divide & conquer your app with nested routers, snippets, and more.
Live demo: https://svelte5-router.vercel.app
Features
- Supports Svelte 5, just one rune baby π!
- Divide & conquer - use nested routers all over the place.
- Use components, snippets, or both!
- Use regex paths (e.g.
/foo/(.*?)/bar
) and/or named parameters together π₯. - Use async routes simply with
component: async () => import("./my-component.svelte")
.
Source code and more is at https://github.com/mateothegreat/svelte5-router.
Top comments (0)