Skip to content

delitamakanda/microfrontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro frontend implementation

# app 1
pnpm create vite storefront --template react

# app 2
pnpm create vite adminpanel --template react

# app 3
...
cd storefront
pnpm install
pnpm run dev

add module federation

pnpm add @originjs/vite-plugin-federation -D

Bonus: add create module-federation-app

npx create-mf-app

Demo

  1. Blog App 1

  2. Admin panel App 2

  3. Storefront (WIP) App 3