/webpack5-module-federation-examples

Module Federation Examples

Primary LanguageJavaScriptMIT LicenseMIT

webpack5-module-federation-examples

Module Federation Examples

https://github.com/module-federation/module-federation-examples

Examples

run yarn at the repo root. You can then run yarn && yarn start from any of the non-proprietary examples.

Base Example

My Example

  • Share-Dynamic-Routes — Shared Dynamic Routes.
  • Dynamic-Menus — 点击菜单,动态加载远程模块(使用系统标志作转发,而非写死的资源访问地址)
yarn 
cd basic-remotes-component
yarn start

open

http://localhost:3001/
http://localhost:3002/