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 20:32:35