Top "Router-outlet" questions

Use it for questions about the angular 2 or 4 router-outlet element.

'router-outlet' is not a known element in angular 6

I get the following error on a fresh install of angular6 using the angular-cli. Uncaught Error: Template parse errors: 'router-outlet' …

angular router-outlet
Angular 6 - multiple router outlets

I want to have an Enter-comp. as overview and basically two child-comp. For instance a login- and register-comp. Furthermore I …

angular routing angular2-routing router-outlet
Angular 7 - Multiple outlets : Error: Cannot activate an already activated outlet

Here is the issue that I'm encountering with Angular 7 : I have two outlets : the main app router outlet, and a …

angular7 children router-outlet routerlink
Angular 2 Router - named router-outlet navigation from code

Using @angular/router": "3.4.7". Proposed solution here doesn't work anymore. /** The ProductComponent depending on the url displays one of two info …

angular2-routing router-outlet
Angular 4 conditional routing/components

UPDATE: See below So I have an app where I have two different organisations, when a user is using the …

angular typescript routes routerlink router-outlet
pass data through <router-outlet> using component interaction in angular2

I'm trying to use this technique intercept input property changes with a setter to pass some data from a parent …

angular angular2-routing angular-components router-outlet
Using nested router-outlets in angular 4

Im using multiple router-oulets to load my components. The outer router-outlet is used load most basic components like login, home, 404. …

angular angular2-routing nested-routes router-outlet
Angular routing with multiple routes and router-outlet

I'm trying to add navigation to components in addition to the navigation of the app root, but it is not …

angular routes angular-routing router-outlet
Angular 5 Cannot match any routes on named outlet of lazy loaded module

My Route of the Root Module is like this: RouterModule.forRoot([ { path: '', redirectTo: 'management-portal', pathMatch: 'full' }, { path: 'management-portal', loadChildren: …

angular angular-router routerlink router-outlet
How to use multiple router-outlet in angular2?

I have a main router-outlet, which is used to display a login screen (/login) and the main content screen(which …

angular angular-cli router router-outlet