dart2js 编译的 Polymer Dart 应用程序在 IE 11 中不是 运行

dart2js compiled Polymer Dart application is not running in IE 11

我无法获得 dart2js 编译的聚合物飞镖项目,甚至无法在 IE 11 中加载。我有点困惑,因为它 运行s 在 Chrome 和 Firefox 中非常好。这是我的步骤:

我确实在 IE 11 中打开了开发者工具并注意到从我的 index.bootstrap.initialize.dart.js 文件中抛出了一个错误,其中包含文本 "Unsupported operation: extendsTag does not match base native class"

同样,我没有做任何更改,我只是想看看编译后的应用程序 运行。在 IE 11 中,我是否遗漏或忘记了将其设置为 运行?

您似乎 运行 关注这个问题 https://github.com/dart-lang/polymer-dart/issues/682

It looks like this does work if you use the full polyfill (webcomponents.js not webcomponents-lite.js).

Looks like this is caused by the template element not existing on IE. The full polyfill adds it which is why that works, where the lite version doesn't do a full polyfill.