Doesn't work with flag template-only-glimmer-components
See original GitHub issuewith this add-on installed and template-only-glimmer-components
turned on wrapping div
is being created. It would be nice to provide an element as root to attach auto generated class to.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:18 (5 by maintainers)
Top Results From Across the Web
Doesn't work with flag template-only-glimmer-components #293
The way template-only-glimmer-components is that if there is now component.js file in the component folder outer div will not be generated.
Read more >Can addons use template-only components? - Ember.JS
Since addons cannot assume the value of that flag in the consuming app, they currently cannot take advantage of the feature.
Read more >Dynamically determine existence of template only Ember ...
The component doesn't seem to be registered in that case. Does anyone know a solution that would work for template-only glimmer components too?...
Read more >Ember.js Template Imports: Part 3 - Chris Krycho
The problem is tractable for us, too — but it's probably not tractable ... flag anything used only in the template as an...
Read more >Creating Web Components with Glimmer | Mainmatter
Second, the standalone and self-contained nature of web components creates an API, that is not only straight-forward to use, but is also easy...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When working with Sparkles Components you can do something like:
Where
foo-bar
is the path for the current component.I’d imagine that this is similar to what would be wanted when working with the
let
AST transform since at build time we have access to the current module path.@BryanCrotaz I’m sorry that you are running into this issue. 😕 I will release the new beta version soon where you should have access to the class.