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