Module Federation - Micro frontend architecture | nextjs

Опубликовано: 27 Март 2026
на канале: victor santos
35,690
606

This is another approach to building a micro-frontend application and having a good user experience and development experience.
Scale the team and decouple the frontend app.

https://vsantos.info

Repo:
https://github.com/victors1681/module...

Part I Documentation:
https://vsantos.info/micro-frontend-a...

UPDATE: Deployment
https://vsantos.info/module-federatio...

3:45 Run the apps
5:43 Add components to the Main App to share
9:25 Module Federation Configuration
15:28 Import dynamic components from the main app
18:28 Render nextjs Pages in Main App located in Shop App
13:25 Load components into the Main app located in Shop App
26:10 Export static assets and publish into AWS S3 bucket