In nrwl schematics different apps are created:
- Faculty
- Organization
- Students
There's one functionality (lib) say, "createStudents" which is in Students app and the same functionality needs to be implemented in Faculty app, for this there are two approaches:
- Copy the createStudents lib into the Faculty app.
- Redirect to Students app from Faculty.
As the first approach would duplicate the code, can we use second approach and how to implement? For second approach I followed below URL but it's not working: https://medium.com/@tomastrajan/why-and-how-to-lazy-load-angular-libraries-a3bf1489fe24