Forem

Cover image for The first Svelte 5 SPA router 🔥
Matthew Davis
Matthew Davis

Posted on

3 1

The first Svelte 5 SPA router 🔥

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)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up