xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

组件化浏览器的兼容性问题汇总

框架依赖的 Web 标准技术

优先级高

  1. HTML Imports
  2. HTML tempaltes
  3. ES6 to ES5 (搭建模块开发环境)

polyfill

https://github.com/webcomponents/webcomponentsjs/tree/v1#browser-support

https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-lite.js
https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-lite.js.map


html-imports & dynamic-imports

HTMLImports.loadImports(document.body)

https://github.com/webcomponents/html-imports#dynamic-imports

removed (2020.07.01)

https://caniuse.com/#search=html imports


Flag Counter

©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/9835298.html