An open API service indexing awesome lists of open source software.

https://github.com/siva-kannan3/module-federation-vite-example

Module federation with vite
https://github.com/siva-kannan3/module-federation-vite-example

microfrontend module-federation react reactjs vitejs

Last synced: over 1 year ago
JSON representation

Module federation with vite

Awesome Lists containing this project

README

          

# 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](http://localhost:4173) in your browser, and to view the host application visit [http://localhost:4000](http://localhost:4000).

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