Skip to content

siva-kannan3/module-federation-vite-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module federation with vite + react

This project contains basic set up of module federation app with vite & react. The project contains two services host & remote, they both are basic react application.

Setup

First clone this project in your local and run the below command in the project's terminal.

npm run install

This will install the dependencies for both host & remote applications. And try running the below command to start the application & see it in action.

npm run start

For viewing remote application visit http://localhost:4173 in your browser, and to view the host application visit http://localhost:4000.

Feel free to give a star ⭐ if you found it useful.