Handlebars:
Template
{{> (lookup . 'myVariable') }}
lookupMyPartial
[rename] [delete]
Found!
Preparation-Script
// Handlebars.registerHelper('loud', function(string) {
//    return string.toUpperCase()
// });
Input
{ myVariable: "lookupMyPartial" }
Output
Found!
最后更新: 2020/3/6 下午8:32:35