I am precompiling my templates using grunt-ember-templates. This tool is putting my templates in the Ember.TEMPLATES
array, as expected. I am finetuning the configuration of grunt-ember-templates
. For that I would like to know what is the expected key in the Ember.TEMPLATES
array. Let's say I have this template:
<script type="text/x-handlebars" data-template-name="phones/index">
....
</script>
Currently I have this template in a file called app/templates/phones_index.hbs
, and grunt-ember-templates
is putting the pre-compiled template in Ember.TEMPLATES["app/templates/phones_index"]
, but this is wrong.
What is the expected key for data-template-name="phones/index"
?