ビューをレンダリングするために underscopre (grunt-contrib-jst) JST テンプレートを使用しています。
ただし、テンプレートからパーシャルとして再利用可能な html を作成する必要がある状況にあります。
別の .tmpl を作成して親 .tmpl に含めることはできますか?
私のコードは次のようになります
var tmpl = my.namespace['template/hello.tmpl'];
$("#content").html(tmpl({
data:data
}));
//where as I need to spearate templates inside hello.tmpl