Hi **, Just a correction in the command for lazy loading It should be "ng generate module --route --module app" if we use the app.module CLI gives errors. It should be just "app" 😀
Hi, well done you really did a great job, thanks very much I really enjoyed it. please can you explain how we can generate more components for the custom module generated for (lazy loading)
Could you please explain how to categorize the Module into 3 different modules namely: Core Modules, Feature Modules and Shared Modules with some use cases ?
What if you have an existing module and then decide it would be better to perform lazy loading on it? Surely that happens. Now I would need to generate both the module and the routing files. The command from the video won't let me. So I would need to build them manually, perhaps by generating a dummy module, then duplicating the missing module and routing files and replacing the names. Not a crazy amount of work, but it would be nice if there was a short cut to convert an existing module.
We can convert any existing module into a lazy loading module. The only thing is we will have to edit/write the module manually and most often causes problems in some syntax, typo etc etc
I did not understand how lazy load payment/success did not works......when we load payment alone it works then success is its child then why it does not work??
@@saalimhussain6635 It means that this variable can take array of any type of data types. For e,g can take array of strings, numbers, objects, interfaces etc