Rendering on the server side
Closed this issue · 1 comments
sungwoncho commented
I would like to use {{> avatar }}
while rendering templates in the server side. I am using meteor-handlebars-server.
When I try to render myTemplate.handlebars
with avatar partial, I get:
Error: The partial avatar could not be found
I tried to make myTemplate.js
in the server directory like this:
Handlebars.templates.myTemplate({}, {
avatar: Handlebars.templates.avatar
});
But it didn't do anything. Any suggestions?
guns2410 commented
+1