Menu

Configuring the Angular 2 child routes configuration

In your app-routing.module.ts

in your app.component.html you will have the router-outlet like this

each of your sub-components needs to be nested under the main template of that component. this is how type.component.html looks like.

 

 

Leave a comment