Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 588 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 588 Bytes

svelte-router

A minimalistic svelte router component

Usage

Features

  • Hash based one level routing
  • Passing one parameter per route via #/someroute/:id
  • No dependencies
  • Less than 50 lines of Svelte code
  • Everything is contained in one small copyable file (no npm required)

Credits

This is basically a more minimal version of ItalyPaleAle/svelte-spa-router, which I used so far.