I am currently seeking a solution in Angular on how to integrate multiple applications into one, such as:
applicationA
- main.js
- vendor.js
- 1.js (chunk)
applicationB
- main.js
- vendor.js
- 1.js
- 2.js
applicationA
will load applicationB
on route /appb
and also be able to access appb/subroute
.
The main objective is to allow different teams to develop separate apps independently so that when changes are made in applicationA
, the other applications called by it do not need to be redeployed.
I came across this article which got me close: https://medium.com/angular-in-depth/building-extensible-dynamic-pluggable-enterprise-application-with-angular-aed8979faba5. However, I could not make it work with sub routes and it is based on a set of modules rather than an application.
Then, there's another article by Manfred Steyer , which seems to be exactly what I need. Unfortunately, it is built on "next" technology which is still under development and not part of Angular's current roadmap (as far as I know).
Question: Has anyone successfully implemented a similar solution and can provide some guidance?