1
編譯飛鏢應用js的出現這兩種錯誤:哪種方式去與這些錯誤
Nº1:
InvalidStateError: Failed to call 'register' on 'Document' for type 'polymer-element': a type with that name is already registered.
Nº2:
Breaking on exception: TypeError: Object #<qE> has no method 'vL'
的對象qE被通過dart2js創建。 如何找到解決方案? 有適當的工具可以找到解決方案嗎? 感謝您的提前!
嗨,我只使用聚合物。 – marcelo
你是否在Dart代碼中註冊你的組件或者只導入HTML? 或者你可能有重複的@CustomTag()註解?但我想那也不會在Dartium中運行。 –
在類定義(文件.dart)中,在類鏢前,寫@CustomTag(),在html中只有聚合元素定義,名稱,模板標籤等...... – marcelo