html template & import link bug
html templates
is OK
https://caniuse.com/#search=html%20template
html imports
is Error
https://caniuse.com/#search=html%20imports
https://caniuse.com/#search=html
import link bug
shit firefox & HTML Imports
https://caniuse.com/#search=html
Firefox
has no plans to supportHTML imports
though for now it can be enabled through the"dom.webcomponents.enabled"
preference inabout:config
https://hacks.mozilla.org/2014/12/mozilla-and-web-components/
https://bugzilla.mozilla.org/buglist.cgi?quicksearch=html+imports
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
https://developer.mozilla.org/en-US/docs/Web/API
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5
https://developer.mozilla.org/en-US/docs/Web/API/Touch_events
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://css-tricks.com/should-you-use-a-template/
https://webdesign.tutsplus.com/tutorials/how-to-customize-an-html-template--cms-25886
polyfill
https://github.com/neovov/template-element-polyfill
https://github.com/webcomponents/webcomponentsjs/tree/v1#how-to-use
https://github.com/webcomponents/webcomponentsjs/blob/v1/webcomponents-hi-sd-ce.js
https://github.com/webcomponents/webcomponentsjs/raw/v1/webcomponents-hi-sd-ce.js
html imports 有用过的吗?已入坑,发现除了 Chrome 都不好使呀。
polyfill
https://developer.mozilla.org/en-US/docs/Web/Web_Components
https://www.webcomponents.org/community/articles/introduction-to-html-imports
https://github.com/webcomponents/webcomponentsjs/tree/v1
https://developers.google.com/events/io/sessions/318907648
https://www.html5rocks.com/en/tutorials/webcomponents/imports/
https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports
https://developer.mozilla.org/en-US/docs/Web/Web_Components
https://www.w3.org/TR/html-imports/
https://caniuse.com/#search=html%20template
http://blog.teamtreehouse.com/introduction-html-imports
https://github.com/googlearchive/HTMLImports
https://github.com/webcomponents/webcomponentsjs