ember.js: Template only glimmer components not working in 3.2?

Seems that in 3.2 template-only-glimmer-components do not work.

Steps to reproduce:

  • Enable template-only-glimmer-components feature toggle
  • Create a new component
  • Add some content to template
  • Remove the component js file
  • See that rendered HTML still has ember-view div wrapper

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Thanks for the reproduction @dpatz, sorry I missed that.

I’ll try to test that out and see if I can spot what’s going on…

@nightire For my issue you’re 100% correct. Seems that my use of ember-cli-notifications was pulling in ember-css-modules, which was breaking my template-only components.

Adding this to my package.json fixed it for me:

  "resolutions": {
    "ember-cli-notifications/**/ember-css-modules": "1.0.0-beta.1"
  }

@lougreenwood maybe you can try to contact @dfreeman to see if he can helps you. He just has solved a similar issue caused by his ember-css-modules, see https://github.com/salsify/ember-css-modules/pull/99