Implementing a plugin architecture / plugin system / pluggable framework in Angular 2, 4, 5, 6

后端 未结 12 689
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 16:18

Update 5/24/2018: We are now +3 versions of Angular from my original post and still don\'t have a final workable solution. Lars Meijdam (@LarsMeijdam) has c

12条回答
  •  萌比男神i
    2020-11-30 16:52

    Example application with a working plugin system (thanks to Gijs for founding the github repo!) https://github.com/PacktPublishing/Mastering-Angular-2-Components/tree/master/angular-2-components-chapter-10 based on the eBook Mastering Angular 2 Components

    • plugin architecture to extend core app components
    • file plugin system (for simply adding plugin directories/files without editing any core config files or the need to recompile your application!)
    • load and dynamically use plugins
    • building a rudimentary plugin manager to activate/deactive plugins on-the-fly

    Cheers, Niklas

提交回复
热议问题