如何在胡子模板中引用包含点的字段名称?例如,如果我有一个类似的观点
{ "foo.bar": "my value" }
那我怎么能把my value模板放进去?使用{{foo.bar}}不起作用,因为胡子认为点是路径的一部分,就像应该有一个"条"的"foo".
my value
{{foo.bar}}
template-engine mustache
mustache ×1
template-engine ×1