Skip to content

toanleviet95/react-sample-with-module-federation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React sample with Webpack 5 Module Federation

This example shows a basic host application loading remote components

For more information, visit the article explaining this workflow

  • app1 expose component for import by other apps.
  • app2 will import exposed component from app1

How to run

Run yarn and yarn start inside each repo respectively. This will build and serve your apps on ports 3000, 3001

Example referenced from https://github.com/module-federation/module-federation-examples/tree/master/basic-host-remote

Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published