Routify is a work in progress. Since v1.5 we have a stable release. But this is a relatively young project. You can expect it to evolve.
Install
- Install the Router only:
npm install --save-dev @sveltech/routify
- Clone the starter template:
npx @sveltech/routify init
- The starter template contains a lot more than just the router, for more info see here.
Documentation
Template
Routify starter template Includes SSR, prerendering, code splitting and much more.
Example
Starter example Example from the starter template. Refresh a page to see how it is loaded.
Tutorials
- Easy client-side SPA routing with Routify by Jitesh
- How to add PostSCSS to Routify Starter by Wolfr
- Add SCSS to a Routify project by Wolfr (slightly outdated)
Support
Please feel free to open an issue or a pull request. All feedback is welcome.
Want help? Have ideas about Routify? Chat with us on Discord. https://discord.gg/ntKJD5B
Older versions
For the old version (svelte-filerouter), please go here