web-dave / angular-essentials-workshop

2 stars 0 forks source link

Lazy loading #8

Open web-dave opened 6 years ago

web-dave commented 6 years ago
web-dave commented 6 years ago
books-routing.module.ts ```ts const routes: Routes = [ { path: '', component: BooksComponent, children: [{ path: '', component: BookListComponent }] } ]; ```
app-routing.module.ts ```ts const routes: Routes = [ { path: 'books', loadChildren: () => import('./books/books.module').then(m => m.BooksModule) }, ... ]; ```
web-dave commented 2 years ago

Next