Angular 2 routing redirect to with child routes
I have been the same problem. It seems an Angular tricks: If you remove leading slash in ‘redirectTo’ field, your application will be redirected successfully to auth/sign-in. Use this in app.routing: const routes: Routes = [ {path: ”, redirectTo: ‘auth’, pathMatch: ‘full’}, ]; ‘redirectTo’ value starts with a ‘/’ = absolute path ‘redirectTo’ value starts … Read more