Handlebars.partials['xyz'] returns function instead of html template

后端 未结 0 1752
眼角桃花
眼角桃花 2020-12-23 09:04

I\'m using Handlebars with different partials. The partials are registered as follows:

Handlebars.registerPartial(\'mypartialname\', fs.readFileSync(mypartial         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题