If HTML Imports are dead/deprecated what's the best way to import your web component (X-Tag) template?
问题 I'm working on my first X-Tag application and on it's page it says it's meant to work with Web Component API's such as 'Custom Elements, Shadow DOM, Templates, and HTML Imports'. I've started working on my templates, but what's the best option to import them, now that HTML Imports have been deprecated? 回答1: AFAIK, HTML Imports have not been deprecated (or is it new?). It's only Mozilla who said it won't implement it for Firefox. But the polyfill is still available, and supported. Since ES6