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.
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.