I am trying to understand how blocks work with ember components. With the following, I expect project.name to be displayed for each loop.
export default Ember.Component.extend({});
{{#each project in projects}}
{{#block-test}}
{{project.name}}
{{/block-test}}
{{/each}}
But when I use this template project.name is not displayed. Is this the expected behavior, and if so, how can I change it to make the above code work?
source
share