The first Svelte 5 SPA router 🔥
Matthew Davis
Posted on November 4, 2024
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.
💖 💪 🙅 🚩
Matthew Davis
Posted on November 4, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.