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
- Host: GitHub
- URL: https://github.com/siva-kannan3/module-federation-vite-example
- Owner: siva-kannan3
- Created: 2022-05-10T12:39:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-14T03:49:16.000Z (about 4 years ago)
- Last Synced: 2025-02-28T23:12:06.581Z (over 1 year ago)
- Topics: microfrontend, module-federation, react, reactjs, vitejs
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.