HTML Imports & polyfill


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

框架依赖的 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

&copyxgqfrms 2012-2020

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



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM