Handlebars:
Template
{{> myPartial }}
Preparation-Script
Handlebars.registerPartial('myPartial', '{{prefix}}');
Input
{ prefix: "Hello" }
Output
Hello
最后更新: 2020/2/25 下午4:23:24