Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

module-federation-vite

Use the module-federation third-party library to make a vue module federation demo

Directory structure

  • host-vue:The host side, import the module from the remote side

  • remote-*:The remote side, expose the module to the host side

Preview

  • remote vue

preview

  • remote react

preview

Usage

  • Clone the project
git clone git@github.com:gongph/module-federation-vite.git
  • Install dependencies
cd remote-vue
pnpm i
pnpm preview

cd remote-react
pnpm i
pnpm preview

cd host-vue
pnpm i
pnpm dev # localhost:5173

About

A federated demo of a module built with vite + vue3 + react

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages