node.js : rendering error with vash
问题 I'm getting a rendering error in node.js with vash. I'm really struggling to see what the issue is. Below is the error and the code causing the error. TypeError: Problem while rendering template at line 4, character 2. Original message: object is not a function. Context: 2 | @html.block('body', function(model){ 3 | <p>@model.title </p> > 4 | }); 5 | }); 6 | 7 | at helpers.extend.model (C:\Users\user009\Dropbox\cpp\node_modules\vash\build\vash.js:2213:4) at Object.vash.loadFile (C:\Users