I\'m a newbie for Angular 4+ (currently using v.6). I\'ve been trying to use this.router.navigate([\'/landing\']) function to redirect from login component to l
I faced similar issue, how I resolved it:
In Component.ts
constructor(private router: Router, private route: ActivatedRoute){} this.router.navigate(['../landing'], {relativeTo: this.route})
try this and let me know if it helps!!!