Closed sigmundch closed 8 years ago
Is the problem in your example that you don't have the import to paper-dialog
or the script tag that defines address-entry
?
We used to have a linter that would give you warnings if you are missing the script tag or an import to find the definition of an element. However, since we added support for @HtmlImport
in Dart files, I am not sure if we can continue producing these warnings accurately (a missing import in the HTML is not always a problem).
I was unaware of @HtmlImport. I suppose the solution is to use that exclusively, then.
Yes, using dart imports exclusively and relying on @HtmlImport
is the easiest way to deal with this
From @theqwertman on August 21, 2015 16:9
For example,
should report an error since there is no import link whatsoever, but the build succeeds without complaint, and the developer must investigate to find out why their element is not appearing.
Copied from original issue: dart-lang/sdk#24167