Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

React - Vite Federation Demo

This example demos consumption of federated modules from a vite bundle. host (react based) depends on a component exposed by remote app (react based).

Running

Install pnpm as per instructions provided here

Run pnpm install, then pnpm run build and pnpm run serve. This will build and serve both host and remote on ports 5000, 5001 respectively.

CTRL + C can only stop the host server. You can run pnpm stop to stop all services.