mf-app-01

1.0.9 • Public • Published

mf-app-01

Here is an online module-federation example

see: umf dynamic remotes

// webpack.config.js
new ModuleFederation({
  remotes: {
    "mf-app-01": "mfapp01@https://cdn.jsdelivr.net/npm/mf-app-01/dist/remoteEntry.js"
  }
})
// webpack.config.js
import App1 from "mf-app-01/App"

<App1 />

Package Sidebar

Install

npm i mf-app-01

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

153 kB

Total Files

11

Last publish

Collaborators

  • zhanghongen