Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的项目中使用聚合物。我的聚合物版本是1.12.0和 webcomponent 版本是0.7.24。即使我使用了 web 组件,我也会收到 HTML 导入错误(HTML 导入已被弃用,现在已从 M80 中删除)。有什么办法可以解决这个错误,否则它在这个版本中不起作用。
聚合物也被弃用了......
您可以尝试使用 HTML Import polyfill,但不确定它是否始终有效。
https://github.com/webcomponents/html-imports