Skip to main content

WebComponents

https://github.com/mateusortiz/webcomponents-the-right-way

https://www.webcomponents.org/

angular​

use​

https://www.sitepen.com/blog/using-web-components-with-angular/

component​

[Angular Elements]

module​

mulit-module​

react/vue​

pure​

https://developer.mozilla.org/zh-CN/docs/Web/Web_Components

https://github.com/mdn/web-components-examples

single-spa​

https://alili.tech/

https://alili.tech/tags/microfrontend/

polyfills​

https://github.com/webcomponents/polyfills


简单、多端复用页面/组件

vue/react 项目打包成 Web Components,angular 项目中引用

多项目聚合

  • nginx 路由
  • angular 项目打包成 Web Components,统一放到 空项目/仅基础 function 的 vue/react 项目或者包含公共部分的 angular 中

meituan

single-spa

cli