简体   繁体   中英

Angular 7+ Modularized Frontend

I would like to create a modularized frontend application, each module must be released independently.

My problem is that I can create angular modules for each frontend module, but I have to build all modules together to make a release.

I want to release modules independently and change versions of modules independently in frontend.

Is there any way to make a dynamically loadable statically builded modules?

Alternative solution is to use iframes what I really don't want. In iframe each modules can be an independent application.

You could either release every module as a different library, and implement those libraries in one central app. Angular elements might also be a solution: you can define entire modules as a web element, which can then be implemented anywhere you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM