Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

前端微服务 #10

Open
fengyua5 opened this issue Oct 14, 2019 · 0 comments
Open

前端微服务 #10

fengyua5 opened this issue Oct 14, 2019 · 0 comments

Comments

@fengyua5
Copy link
Owner

fengyua5 commented Oct 14, 2019

1、什么是前端微服务?为什么出现前端微服务

微前端架构是一种设计方法,其中,前端应用被分解为多个松散而协同工作的半独立“微应用”。微前端的思想来源于微服务,其名称也遵循了微服务的命名方式

随着现在软件系统的业务越来越复杂,现在很多系统都是SPA(单页面应用),但是随着业务的模块也来越多,越来越复杂,出现了一下问题:

  • 页面模块越来越多,即使我们把webpack、gulp等打包工具优化到极致,打包时间仍然长达20分钟以上
  • 页面模块耦合太严重。改一部分代码会影响到另外的模块中的代码
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant