client-routing-lib
v1.0.3
Published
JS client router with hash API & history API
Downloads
2
Readme
Getting Started
Install @client-routing-lib with npm
:
npm install client-routing-lib
Using
const router = new Router();
router.on("/", {
onEnter: () => {
// your code
},
// other hooks
});