Skip to content

Files

Latest commit

Nov 14, 2024
908450d · Nov 14, 2024

History

History

react-manifest-example

README.md

Module Federation 2.0 with Rspack in React

This repo uses Module Federation 2.0 Rspack plugin to build a React microfrontend

Get started

cd react-manifest-example
# In the reacts-manifest-example directory
# You do not need to run the installation command in this directory
pnpm install
pnpm run start

Host runs at http://localhost:3000 (live reload only) Remote1 runs at http://localhost:3001 (HMR supported) Remote2 runs at http://localhost:3002 (HMR supported)