Skip to content

vikramsinghvirdi/ng-micro-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example for Ng Micro Frontend Architecture

This repo demonstrates micro frontend architecuture using Module Federation provided by webpack.

  • ng-host-monorepo - Shell (host) application
  • mfe01- Simple project library
  • mfe02- Micro Frontend project application
  • remote01 - Micro Frontend Angular + Clarity application
  • remote02 - Micro Frontend Angular + Material application
  • remote03 - Micro Frontend Angular Webcomponent

Microfrontend architecture

Installation and Usage

  • Install packages: npm install
  • Build & start micro frontend project application:
    npm run build mfe02
    
    ng serve mfe2 -o
    
  • Build & start micro frontend application inside remote01, remote02 and remote03 application by using following commands for all applications:
    npm run build
    
    ng serve -o 
    
  • Start shell application
    ng serve -o 
    

Microfrontend output

Plugins used in the project

More Details on Module Federation

Have a look at this article series about Module Federation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published