Why is relative routing still not supported with ionic navcontroller?
Continuing the discussion from Relative routing in Ionic 4:
// Ask the router to build up the UrlTree
const relativeRoute = this.router.createUrlTree(['success'], {
relativeTo: this.activatedRoute
});
// Private the UrlTree directly
this.navController.navigateForward(relativeRoute);
Just wanted to add this, since it’s not the route, but the activated route. For anyone failing at this.