grunt-ember-templatesを使用してテンプレートをプリコンパイルしています。このツールは、予想どおり、私のテンプレートをEmber.TEMPLATES配列に入れています。の構成を微調整していますgrunt-ember-templates。Ember.TEMPLATESそのために、配列で予想されるキーは何かを知りたいです。このテンプレートがあるとしましょう:
<script type="text/x-handlebars" data-template-name="phones/index">
....
</script>
現在、このテンプレートは というファイルapp/templates/phones_index.hbsにあり、grunt-ember-templatesコンパイル済みのテンプレートを に入れてEmber.TEMPLATES["app/templates/phones_index"]いますが、これは間違っています。
の予想されるキーは何data-template-name="phones/index"ですか?