Skip to content

ashutoshmobius/stackblitz-webcontainer-api-starter-mfe-container

Repository files navigation

This is single-spa X container containing root and mife

using vite + vite-plugin-single-spa

Run below command after cloning cd [current directory]

npm i npm run dev {start the root config)

clone mifes created using "vite-plugin-single-spa"

cd [mife directory]

npm i

npm run build {build the app for provided filename (by default spa.js) }

npm run preview (serve the app on provided port in vite config)

currently containing 2 mfe

  1. svelte-spa (runs on provided port [default 5001]) and routes to /mfe1
  2. react-spa (runs provided port [default 5002]) and routes to /mfe2

About

Created with StackBlitz ⚡️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published