DEV Community

Discussion on: How to Build Micro Frontends Using Module Federation in Angular

Collapse
 
briancodes profile image
Brian

Hi. Do the mfe apps used by the shell have to be part of the same project or can they be in separate repos?

Collapse
 
alisaduncan profile image
Alisa

Hi Brian! Thanks for the great question!

The mfe apps can definitely reside in their own repos. You'll want to make a few changes for local development (such as using npm link so that the shell application can access the mfe apps), and move any shared code into a separate accessible location. I used a monorepo to simplify the tutorial and avoid having to span across multiple repos, but multiple repos can work too.

Happy coding!