由於公司業務變的越來越複雜,新開的項目就有20多個,項目配置依賴80%以上是相似的,這就不得不考慮如何更有效的去完成開發。最近有看到微前端這個概念,貌似可以解決這樣的一個困境。single-SPA是有些公司嘗試使用的一個框架,iframe應該是很少人使用的,坑太多了。
2016年就提出了的模仿服務端的前端架構想法
https://single-spa.js.org/
https://microfrontends.com/
https://alili.tech/archive/1a60cede/
https://www.cnblogs.com/scdisplay/p/11648701.html
https://juejin.im/post/5d7f702ce51d4561f777e258