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

How do you use helpers? #11

Open
kooinsung opened this issue Apr 3, 2020 · 0 comments
Open

How do you use helpers? #11

kooinsung opened this issue Apr 3, 2020 · 0 comments

Comments

@kooinsung
Copy link

I want to know how to call helpers ..
please..

app.use(
  renderer({
    paths: {
      views: path.join(__dirname, '../templates'),
      layouts: path.join(__dirname, '../templates'),
      // partials: path.join(__dirname, '../templates'),
    },
    defaultLayout: 'layout',
    hbs: Handlebars.create(),
    helpers: {
      // How do you call it here?
    },
  }),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant