Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More HBS Helpers! #2

Open
jyoungblood opened this issue Jul 16, 2023 · 0 comments
Open

More HBS Helpers! #2

jyoungblood opened this issue Jul 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jyoungblood
Copy link
Owner

jyoungblood commented Jul 16, 2023

Probably best to do this as a separate package, but at some point I'd love to see more HBS helpers.

For inspiration: Assembly has a HUGE library of custom helpers for the JS version of handlebars, and BigCommerce's theme engine (Stencil) also has a good collection of helpers.

I also wrote a handful of helpers for js back in the day, idk if any of them would still be useful: https://github.com/hxgf/lexxi-handlebars/blob/master/index.js

It's easy enough to build custom helpers now, so we'd just need to make PHP versions of these.

Questions:

  • Are there any changes we'd want to make in how we're initializing the helpers?
  • Instead of a separate package, would it be better to just have these available as copypastas in some docs somewhere?
@jyoungblood jyoungblood added the enhancement New feature or request label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant