dmeditor icon indicating copy to clipboard operation
dmeditor copied to clipboard

[prototype]Support remote widget loading

Open xc opened this issue 2 years ago • 2 comments

Create a prototype which can remotely load component to an existing project.

xc avatar Nov 27 '23 10:11 xc

Step 2: create a sample:

  • 1 ) Load component remotely using module-federation's utilities: https://www.npmjs.com/package/@module-federation/utilities
  • 2 ) develop a component in another project and expose remotely using webpack
  • 3 ) Can 2's compiled js file be deployed into a cdn and loaded by 1)?

xc avatar Nov 28 '23 09:11 xc

Note: might need to think about cache and server side.

xc avatar Nov 28 '23 10:11 xc