我尝试使用端口聚合物元素,用于飞镖。 我使用custom_element_apigen包。 当我运行pub时,我得到Build错误:
pub serve example/
Loading source assets...
Loading polymer transformers... (1.6s)
Serving wysiwyg_e example/ on http://localhost:8080
Build error:
Transforms {Dart2JS on wysiwyg_e|example/packages/test/src/runner/browser/static/host.dart} all emitted asset wysiwyg_e|example/packages/test/src/runner/browser/static/host.dart.js.
还有一些错误:
[Error from WebComponents on wysiwyg_e|example/index.html]:
Could not load asset wysiwyg_e|lib/paper_tooltip.dart
[Error from WebComponents on wysiwyg_e|example/index.html]:
Could not load asset wysiwyg_e|lib/prism_import.dart
[Error from WebComponents on wysiwyg_e|example/index.html]:
Could not load asset wysiwyg_e|lib/behavior.dart
如何使用custom_element_apigen移植聚合物js?我必须在gen.yaml中添加所有凉亭套餐吗?这个错误意味着什么?