$30 off During Our Annual Pro Sale. View Details »

Angular-based Micro Frontends with Module Fede...

Angular-based Micro Frontends with Module Federation @ngconf 2022

Manfred Steyer

September 01, 2022
Tweet

More Decks by Manfred Steyer

Other Decks in Programming

Transcript

  1. @ManfredSteyer Shell (Host) Microfrontend (Remote) // Maps Urls in //

    webpack config remotes: { mfe1: "http://..." } // Expose files in // webpack config exposes: { './Cmp': './my.cmp.ts' } import('mfe1/Cmp')
  2. @ManfredSteyer Shell (Host) Microfrontend (Remote) remotes: { } exposes: {

    Cmp: './my.cmp.ts' } loadRemoteModule({ type: 'module', remoteEntry: 'http://…', exposedModule: './Cmp' })