vendredi 29 mai 2015

How to call components inside a components with pods structure in ember cli

I have 2 components x-foo and y-foo in a pods structure.

app/pods/components/x-foo/template.hbs app/pods/components/y-foo/template.hbs

I want to call y-foo component inside x-foo component's template.hbs like this:

<section>
  {{y-foo}}
</section>

But it errors out saying that y-foo helper doesn't exist. Can anyone show me the right way to do this in a pods structure?




Aucun commentaire:

Enregistrer un commentaire