Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. const routes: Routes = [{
  2. path: 'lazy',
  3. // The new import() syntax
  4. loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule)
  5. }];
  6.  
  7. const routes: Routes = [{
  8. path: 'lazy',
  9. // The following string syntax for loadChildren is deprecated
  10. loadChildren: './lazy/lazy.module#LazyModule'
  11. }];
  12.  
  13. Package Version
  14. -----------------------------------------------------------
  15. @angular-devkit/architect 0.800.4
  16. @angular-devkit/build-angular 0.800.4
  17. @angular-devkit/build-optimizer 0.800.4
  18. @angular-devkit/build-webpack 0.800.4
  19. @angular-devkit/core 8.0.4
  20. @angular-devkit/schematics 8.0.4
  21. @angular/cdk 8.0.0
  22. @angular/cli 8.0.4
  23. @angular/material 8.0.0
  24. @ngtools/webpack 8.0.4
  25. @schematics/angular 8.0.4
  26. @schematics/update 0.800.4
  27. rxjs 6.5.2
  28. typescript 3.4.5
  29. webpack 4.30.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement