简体   繁体   English

angular 中的模块联邦准备好生产了吗?

[英]Module federation in angular ready for production?

I'm still learning about module federation angular in my office work.还在办公室学习module federation angular。 Is module federation in angular ready for production level? angular 中的模块联合是否准备好生产级别?

Nx为 Module federation 提供了很好的支持!

This depends on what you consider to be production level.这取决于您认为的生产水平。

If the question, can you deploy an application with Module Federation?如果有问题,您可以使用 Module Federation 部署应用程序吗? Then the answer is yes.那么答案是肯定的。

The most common approach is the one defined by the Angular Architects team in this series of articles.最常见的方法是由Angular 架构师团队在本系列文章中定义的方法。 If you visite their github you can see that working examples exist with it since Angular 12. I have also been in teams that have successfully deployed MicroFrontends with it.如果您访问他们的github ,您可以看到自 Angular 12 以来就存在工作示例。我也参与过使用它成功部署 MicroFrontends 的团队。

However, it always depends on what you consider to be production level.但是,它始终取决于您认为的生产水平。

From my experience with it, the technology works quite well, the main issues are on the deploy side of things.根据我的经验,该技术运行良好,主要问题出在部署方面。 The deploy of an application is usually done by a DevOps teams.应用程序的部署通常由 DevOps 团队完成。 They know how to deploy a normal application since.从那以后,他们知道如何部署普通应用程序。 However, deploying Micro-Frontends is quite different which may cause additional difficulties.然而,部署微前端是完全不同的,这可能会导致额外的困难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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