Install @client-routing-lib with npm
:
npm install client-routing-lib
Using
const router = new Router();
router.on("/", {
onEnter: () => {
// your code
},
// other hooks
});
Install @client-routing-lib with npm
:
npm install client-routing-lib
Using
const router = new Router();
router.on("/", {
onEnter: () => {
// your code
},
// other hooks
});
npm i client-routing-lib
5
1.0.3
ISC
2.66 kB
2