When you are in an #html file, and you want to go-to-definition for a custom element, what do you think the behavior should be? Should it go to: - type definition - JS file where the class is defined - CEM entry - something else #webcomponents #javascript
Library code: Type Def Local file: JS/TS code file CEM entry as a fallback
I only keep one index.html in the entire app. It calls a TS startup program. That builds the DOM by returning the web components the user is routed to. Each component is defined in a TS file matching its custom element name.
File and line where the class is defined, IMO
...or do we need anything? Standard HTML doesn't do anything.