most of Aurelia github examples says we need to call configure() inside the constructor() method ex:
constructor(router) {
this.router = router;
this.configure();
}
configure() {
this.router.configure(config => {
config.title = 'Aurelia';
config.map([
{ route: ['','welcome'], moduleId: 'welcome', nav: true, title:'Welcome' },
{ route: 'flickr', moduleId: 'flickr', nav: true },
{ route: 'child-router', moduleId: 'child-router', nav: true, title:'Child Router' }
]);
});
}
but i noted latest example had method configureRouter(config, router) which looks self executing without calling form different method. (or at least i cant find it ) any way how can we find the complete page lifecycle of Aurelia (throughout the screen activation lifecycle)?