Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const routes: Routes = [{
- path: 'lazy',
- // The new import() syntax
- loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule)
- }];
- const routes: Routes = [{
- path: 'lazy',
- // The following string syntax for loadChildren is deprecated
- loadChildren: './lazy/lazy.module#LazyModule'
- }];
- Package Version
- -----------------------------------------------------------
- @angular-devkit/architect 0.800.4
- @angular-devkit/build-angular 0.800.4
- @angular-devkit/build-optimizer 0.800.4
- @angular-devkit/build-webpack 0.800.4
- @angular-devkit/core 8.0.4
- @angular-devkit/schematics 8.0.4
- @angular/cdk 8.0.0
- @angular/cli 8.0.4
- @angular/material 8.0.0
- @ngtools/webpack 8.0.4
- @schematics/angular 8.0.4
- @schematics/update 0.800.4
- rxjs 6.5.2
- typescript 3.4.5
- webpack 4.30.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement