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
I am included the following in my gruntfile.
Option 1:
grunt.config('handlebars.options.amd', ['handlebars','helper/hbs/helpers']);
Here handlebars is the handlebars.js file location and helper/hbs/helpers is the cutom helper/hbs/helpers.js file with my helpers I am using requireJs so was able to specify all the AMD modules to be loaded as an array.
Option2: At the start of you application you can initialize the custom handlebars class manually which basically attaches your template on the handlebar object.
Regards,Sameer Tandon
I have created a set of custom helpers which I want to include with my build (AMD). Where do I specify the path of helpers to be included.
The text was updated successfully, but these errors were encountered: