Skip to content

nefayran/react-vite-federation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React - Vite Federation Demo

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

Running

First, run pnpm install, then pnpm build and pnpm preview. This will build and serve both shared and app on ports 5000, 5001 respectively.

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

About

Short example for vite-plugin-federation and react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published