I'm using Ember v2.5.1.
I'm tryng this solution for my necessity to use two custom yields in same component:
How can I yield multiple pieces of content into an ember.js component template?
This is my code:
// component
{{#father-component as |f|}}
{{#f.left-content}}
This is a content
{{/f.left-content}}
{{#f.right-content}}
This is a another content
{{/f.right-content}}
{{/father-component}}
// father-component
<div class="left">
{{yield (hash left-content = (component "foo-content"))}}
</div>
<div class="right">
{{yield (hash right-content = (component "foo-content"))}}
</div>
// foo-content
{{yield}}
In https://ember-twiddle.com/ this works nicelly, but in my localhost this dosn't works and return this error
Assertion Failed: A helper named 'f.right-content' could not be found
Some help?
I work with app exporting the components, and the path js and hbs separetly.
Edit
When I add {{log f}} in parent component this happens.