Angular 6 Best Practices [6] - Lazy Loading Modules

preview_player
Показать описание
Lazy Loading Modules with the Angular Router
Lazy Loading Modules to optimizing apps in Angular 6
Angular Lazy Loading Modules
Angular Lazy Loading Feature Modules
Angular Modules, Angular Feature Modules, Angular Shared Modules, Angular Core Modules, Angular Lazy Loading Modules, Angular Routes, Angular Router, Angular Routing, Angular Routing and Navigation, RxJs 6

Prerequisite:
Install Angular CLI globally → npm install -g @angular/cli

Create new project:
→ ng new [name]
→ ng new [name] --directory (apply for Angular CLI version 6.0.2 or higher, --directory create a directory for project)

IDE:

Music:
Рекомендации по теме
Комментарии
Автор

Hello, I have a small clarification, in this if i place a reactiveFormComponent link in the header (next to Demo link) not working. Means i am not able to directly go to child component. Is it the behavior of Angular in lazy loading concept? If we want to go to child component means first we need to go to parent component?

gangadharbc
Автор

Yee that's the new chunks !! haha
Mate i have a question... when you use loadChildren, how do you do in this module with her main NAMEMODULE-routing.module.ts go to the parent if the path are wrong, i mean in children module in her router when you have the path '**' and i will go to the path '/' of the bootstrap app-module.. how i do that if is it the parent !? D:

JG-pusi
Автор

hello very good tutorials..
I am facing a problem.
please help me . i wan to remove a module . when i delete routing of that module and also the directory of that module by doing this i am getting error while i hit ng serve command.... please suggest me ...

jahulhasan
Автор

please upload rest calls for get, post, put, delete

adayinmylife
welcome to shbcf.ru