I'm using Grunt and Yeoman to precompile my handlebars templates for an ember app.
In the tutorial they write:
<script type="text/x-handlebars" data-template-name="todos">
...
</script>
Instead I have a file todos.hbs
Now I have to create a template:
<script type="text/x-handlebars" data-template-name="todos/index">
</script>
What syntax do I use to make a todos/index
.hbs
file?
create a new folder todos
in the template directory and create an index.hbs
file in it.