sl-ember-components icon indicating copy to clipboard operation
sl-ember-components copied to clipboard

Relocate addon component templates to app/templates?

Open kaosko opened this issue 8 years ago • 0 comments

I have customized several of your components in my own app. After upgrading Ember from 1.12 to 1.13, the overridden templates were not picked up anymore. I couldn't find anything in the official docs about it, but what I gathered from https://github.com/ember-cli/ember-cli/issues/4587 and http://discuss.emberjs.com/t/ember-cli-addon-with-template/7230/3, it seemed that the templates for the addon components should actually live in app/templates/components to make them easy to override. Overriding the .js part works fine. The workaround for now is that I explicitly declare a template in the overridden component and point to my custom template.

kaosko avatar May 16 '16 18:05 kaosko