Skip to content

Relocate addon component templates to app/templates? #1676

@kaosko

Description

@kaosko

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions