July 2018
Intermediate to advanced
420 pages
8h 46m
English
Let's create the child routes for the following views in our frontend application:
importsimport { BuilderDetailComponent } from './builder-detail/builder-detail.component';import { BuilderListComponent } from './builder-list/builder-list.component';
const routes: Routes = [{ path: 'builders', children: [ { path: '',component: BuilderListComponent}, { path: ':id', component: BuilderDetailComponent } ] }];
In the preceding code snippet, you will notice two things ...
Read now
Unlock full access