You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Outside of node.js I have always set all my templates to be partials so I can use any template anywhere. I cannot figure out a way to do this with grunt pre-compilation. Is there a way to do this?
The text was updated successfully, but these errors were encountered:
If anyone is still wondering, partials exist on the instance of Handlebars you are using, so Handebars.partials.templateName is available when you use {{ > templateName }} within another template.
You can make them available by assigning them like so:
Outside of node.js I have always set all my templates to be partials so I can use any template anywhere. I cannot figure out a way to do this with grunt pre-compilation. Is there a way to do this?
The text was updated successfully, but these errors were encountered: