-
This is a page rendered using wpmjs to load a remote npm package. Use module-federation module mf-app-01 and umd module antd respectively. They can reuse React from npm or shareScopes.
- You can clone this warehouse and start mf-app-01, and you will find that the local mf-app-01 will appear in the debugging panel on the right, and you can switch between online and local with one click.
-
The wpm debugging panel on the right can automatically connect to the locally started dev-server that meets the specifications, and can also set the version of the remote module for debugging. You can set react 18.1.0 in alias to try it.
-
(pending upgrade)see wpmjs and npm-federation
-
clear cache