Skip to content

each helper should reside in its own file? #248

@pcompassion

Description

@pcompassion
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 #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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions