Skip to content

An SPA router for Svelte that allows you to divide & conquer your app with nested routers.

License

Notifications You must be signed in to change notification settings

mateothegreat/svelte5-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ed9a8be Β· Mar 19, 2025
Mar 11, 2025
Mar 19, 2025
Mar 6, 2025
Mar 19, 2025
Mar 6, 2025
Mar 5, 2025
Mar 2, 2025
Feb 27, 2025
Feb 27, 2025
Mar 6, 2025
Mar 6, 2025
Oct 28, 2024
Feb 28, 2025
Feb 26, 2025
Feb 28, 2025
Feb 28, 2025

Repository files navigation

Svelte 5 SPA Router πŸš€ πŸ”₯

logo

An SPA router for Svelte that allows you to divide & conquer your app with nested routers, snippets, and more.

Features

  • Built for Svelte 5 πŸš€!
  • 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").
  • Add hooks to your routes to control the navigation flow πŸ”§.
  • Automagic styling of your anchor tags πŸ’„.
  • Helper methods πŸ› οΈ to make your life easier.
  • Debugging tools included πŸ”.

Installation

npm install @mateothegreat/svelte5-router

Table of Contents