Yenniferh / module-federation-vite-example

Module federation with vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Module federation with vite


Languages

Language:JavaScript 44.8%Language:CSS 40.2%Language:HTML 15.0%