HTML Imports & polyfill
组件化浏览器的兼容性问题汇总
框架依赖的 Web 标准技术
优先级高
- HTML Imports
- HTML tempaltes
- 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
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/9835298.html
未经授权禁止转载,违者必究!