require-handlebars-plugin icon indicating copy to clipboard operation
require-handlebars-plugin copied to clipboard

each helper should reside in its own file?

Open pcompassion opened this issue 9 years ago • 1 comments

require({
  hbs : {
    helperPathCallback: function(name) {return 'cs!/helpers/' + name;}
  }
}, ['main'])

suggests that each handlebar(with name) should have name file.

What if I have collection of helpers in multiple files under non standard (not templates/helper) directory?
How do I make hbs know about it?

This has been asked https://github.com/SlexAxton/require-handlebars-plugin/issues/168

What if we want to use some 3rd party helper libraries such as

https://github.com/assemble/handlebars-helpers https://github.com/elving/swag

pcompassion avatar Feb 13 '16 15:02 pcompassion

bump

symbiosdotwiki avatar Jun 24 '16 15:06 symbiosdotwiki