How to load dynamic templates in meteor 0.8 version? -
I have the functionality Content Assistant When you upgrade to 0.8, you should have received a URL on a read-only page. Indicates templates no longer return functions and strings: This car It does not work: You can only return the template object. But you will need to change in any way before you call Update :
& lt; body & gt; {{& Gt; Content}} & lt; / Body & gt; & Lt; Template name = "content" & gt; {{RenderTemplate}} & lt; / Template & gt;
Template.content.helpers ({'renderTemplate': function () {new Handlebars Please help with the solution. Thanks in advance.
template> [session (get the current template)] ({dataKey: 'someValue'})
renderTemplate , before the data reference. I can not tell you how, because I do not know what all their data is necessary for their templates.
Template.co Ntent.helpers ({'renderTemplate': function () {return template [session.get ('current template')]; }});
{{& gt; RenderTemplate}} as described in the linked page instead of
{{renderTemplate}} .
Comments
Post a Comment