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

Pass data to partials not works #255

Open
yozawiratama opened this issue Jun 19, 2019 · 2 comments
Open

Pass data to partials not works #255

yozawiratama opened this issue Jun 19, 2019 · 2 comments

Comments

@yozawiratama
Copy link

Hello I do something like this :

{{> myPartial name="John Doe"}}

in partials/myPartial.hbs

<label>Name : {{name}}</label>

but when I render it, only show :

Name : 

expected :

Name : John Doe

where I wrong? because as I know it works in handlerbarsjs

thanks

@spchuang
Copy link

spchuang commented Apr 2, 2020

getting same issue. any updates?

@UziTech
Copy link

UziTech commented Apr 2, 2020

new development of express-handlebars is on a new repo express-handlebars/express-handlebars. If you could create an issue on that repo we could try to help.

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

3 participants