This repository is to showcase examples of how vite with Module Federation (vite-plugin-federation) can be used to share components between a React application and a Svelte application.
- Clone the repository
- Run
npm install
in the src/react-app directory - Run
npm run build
in the src/react-app directory - Run
npm install
in the src/svelte-app directory - Run
npm run dev
in the src/svelte-app directory
More on the vite-plugin-federation can be found at this GitHub Repository