Skip to content

ryok90/react-mf-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React <> Module Federation Plugin - Examples

npm

This repository contains several small samples on different integrations of React and @module-federation/enhanced plugin.

Sample Structure

- template
  ├ host            (A React host app)
  ├ remote          (A React remote app)
  ├ package.json    (Package file with scripts to run all apps at once)
  └ README.md       (This readme file to explain how to run the sample)

Sample Stack

How to run the sample

Install the dependencies using npm:

npm i

To run the samples in development mode, run the following command:

npm run dev

To run the samples in production mode, first build the samples using the following command:

npm run build

Then, run the following command to serve the samples:

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published