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 variables to precompiled template #2027

Open
xenoterracide opened this issue Jan 26, 2024 · 0 comments
Open

pass variables to precompiled template #2027

xenoterracide opened this issue Jan 26, 2024 · 0 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Jan 26, 2024

I don't see, (or maybe understand), how I could pass any variables/data for the templates on the cli https://handlebarsjs.com/installation/precompilation.html#usage according to the documentation/cli data is a boolean. So how do I pass it? filing here, because if this requires me to write javascript (according to the docs I think it might). I'd like to see an option for this. I'm also not certain how both the cli help and documentation are generated, so perhaps here is the appropriate place to start if it is a doc issue.

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