I have a simple partial used in my application.hbs
file: {{partial "atoms/header_message"}}
The path for the partial is templates/atoms/header_message
According to the CLI Documentation:
The templates are named the same as their filename, minus the extension (i.e.
templates/foo/bar.hbs
->foo/bar
).
So pod structure or not, it should simply resolve the path. However I get this fancy error:
Uncaught Error: Assertion Failed: Unable to find partial with name "atoms/header_message"
Am I naming things wrong?
Aucun commentaire:
Enregistrer un commentaire