Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 605 Bytes

File metadata and controls

17 lines (13 loc) · 605 Bytes

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