I am trying to load two apps in one domain based on own roles. There are two methods for implementing this:-
- Create a project and create children's module of app module by the asynchronous-routing method.
- Create a project and create different two apps like first is the app and second is app1 and load by role based.
I am using angular-CLI of my project. In my project 500+ components. So which one is better and How to implement it?