You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display better information in the component tree when you come across a unknownTemplateOnlyComponent #2695
Now that people are using GJS by default, and we are using GJS for route templates the display of the components in the component tree isn't very useful
Having literally anything displayed here would be better, like a file path or something 🤷
Edit: It turns out that the screenshot above is what a vite app displays, in a classic app it just shows <Template>
unless in dev: compiler could include the const name (though, maybe this goes in prod as well, in place of modulePath or whatever that field is called in the wire format
Activity
NullVoxPopuli commentedon Oct 17, 2025
How would rendering this be displayed?
Seems like logic would have to be:
constname (though, maybe this goes in prod as well, in place ofmodulePathor whatever that field is called in the wire formatpatricklx commentedon Oct 17, 2025
Also related:
This is why i often add this babel plugin: https://github.com/ember-cli/ember-template-imports/blob/92738a3fe45e1639413fcb78233c0e146b02ade2/src/babel-plugin.js#L5
There is a long discussion here:
emberjs/babel-plugin-ember-template-compilation#58
Tldr is:
We need to wait for a proper fix in glimmer. (And that will probably only happen after it's merged into ember-source)