{"repo":"dvcol/svelte-simple-router","free":true,"listed":false,"github":"https://github.com/dvcol/svelte-simple-router","clone":"git clone https://github.com/dvcol/svelte-simple-router.git","description":"Simple svelte 5 client side router.","language":"TypeScript","stars":117,"topics":["client-side","router","spa","svelte","svelte-5","library"],"license":"MIT","category":"ui-components","readme_excerpt":"Welcome to Svelte Simple Router A simple and flexible SPA router for svelte 5 Description Svelte Simple Router is a native Single Page Application (SPA) router for Svelte 5, designed for seamless client-side navigation while leveraging Svelte's reactivity and transitions. It supports both History API and hash routing, offering flexible URL management with robust path matching, query parameter handling, and dynamic interpolation. Packed with features like nested views, route guards, lazy loading, dynamic routing, and full integration with Svelte’s Transition API and the View Transitions API, it enables smooth and interactive navigation experiences. Built to be easy to use yet powerful, Svelte Simple Router is the perfect solution for developers looking to add routing to their Svelte applications without unnecessary complexity. Prerequisites Note: Svelte Simple Router is a svelte 5 native library, and will not work with prior versions of svelte. - svelte = 5.0.0 Install Getting Started The minimal setup requires a RouterView component and a list of routes. The RouterView component will render the component associated with the current route in place. You can find a complete example in the demo app, or this playground. Advanced Usage - Router Context - Debuggers - Nested routes - Router transition - Svelte transition - View Transition API - Dom actions - Link action - Links action - Active action - Programmatic navigation - Hooks - Router instance - Outside component tree - Dynam","default_branch":null,"files":null,"tree":[],"storefront":"/r/dvcol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dvcol/svelte-simple-router/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}