Welcome to routify.js
routify.js is the most unintrusive, and yet most powerful, client-side routing system for Single Page Applications (SPas) out there. It's written in modern ES6 Javascript, has fallback support, and it does as little as possible while being very powerful.
It supports sub-routes, each one with different fallbacks.
It works everywhere
routify.js is written in pure Javascript, and it will work:
-
Straight HTML files. Here is a guide to turn a simple HTML file in to a routing-aware page,
-
lit-element. routify.js provides two mixins which will enable routing for your main page and any other pages in no time. (routify.js has a simple lit-html guide)
-
(more to come)
Discover routify
See the official routify.js documentation or have a look at the step-by-step routify guides.
Finally, look at routify.js' API