react-svelte-mod-fed-poc Svelte Themes

React Svelte Mod Fed Poc

Modular Federation example with Svelte and React using Vite

Modular Federation with Vite

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.

How to build

  1. Clone the repository
  2. Run npm install in the src/react-app directory
  3. Run npm run build in the src/react-app directory
  4. Run npm install in the src/svelte-app directory
  5. Run npm run dev in the src/svelte-app directory

Information

More on the vite-plugin-federation can be found at this GitHub Repository

Learning Resources

Top categories

Loading Svelte Themes