Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relocate addon component templates to app/templates? #1676

Open
kaosko opened this issue May 16, 2016 · 0 comments
Open

Relocate addon component templates to app/templates? #1676

kaosko opened this issue May 16, 2016 · 0 comments

Comments

@kaosko
Copy link

kaosko commented May 16, 2016

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 ember-cli/ember-cli#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants