As far as I can tell there are two popular cases when using micro front ends -
1) Single page with components ( each on its own service ) 2) Multiple pages accessible from a dashboard / navbar ( each part on its own service )
I have been digging for a while now and from what I can tell case 1 is pretty straightforward when using Angular custom elements.
The problem is that I need to solve case 2. By design I got a dashboard (navbar on the side of the page) with a list of routes for different components entry points ( reports, users etc...).
I want this part to be the container and each route on the navabar of the container to lead to a separated micro front end which can live by itself and as part of the container. So I will have for example a reportService, userService etc... and a main/container service for when I build the full site.
I am having trouble with figuring out what is the best approach for achieving that goal, I seen all sort of articles but I still cant see a clear path ( prod ready etc... )
Are there any popular and prod ready approaches for that?
EDIT: The idea is for example - to be able to have two teams each working on a separate part of the site (a separated context) without having any affect on each other. Both got a standalone part of the site and on deployment the changes can be added to the main containing site. There is minimal (if any) connection between those two sub sites, they can be run alone or inside the container.
I added link to an article which explains my problem and much more and does it far better than I could ever do https://martinfowler.com/articles/micro-frontends.html