api.onPageChange((url, title) =>{
const router = api.container.lookup('service:router');
console.log(router.currentRoute.name);
}
api.onPageChange((url, title) =>{
const router = api.container.lookup('service:router');
console.log(router.currentRoute.name);
}