127. Adding Routes to the Feature Module. forChild, forRoot differences in Router Module - Angular
HTML-код
- Опубликовано: 8 окт 2024
- Hi Friends
In this video, we will see how to spli the routes from the app module and add it to the feature module. We will also see the basic difference between forRoot and forChild in Router Module - angular.
The code is deployed in my Github account.
github.com/lee...
If you like my video, please subscribe to my channel.
RUclips Page: / leelawebdev
Facebook Page: / leelawebdev
Twitter Page: / leelanarsimha
Linkedin: / leela-narasimha-reddy-...
GitHub: github.com/lee...
#Angular #leelawebdev
insightful
I found the answer for my issue @7:38. Thanks!
At (11:20 ), you deleterd the exports from user module. But why we need to do that ? as you mentioned in video 125 that all components have to be present in app module as its the entry point.
Thanks brother.
You're welcome!
At (11:20 ), you deleterd the exports from user module. But why we need to do that ? as you mentioned in video 125 that all components have to be present in app module as its the entry point.
Those are lazy loaded modules. Those modules should need to loaded lazily for performance at the runtime.