-
Notifications
You must be signed in to change notification settings - Fork 159
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
Server side HTML Handlebars templates #10
Comments
+1 |
Hi @grigio, @noiseunion, The template is available to your JavaScript as an entry of the So I am a bit confused by this since the |
I looking for something similar to this: https://github.com/railsware/sht_rails. We have been looking at using the Handlebars_assets gem in conjunction with the SHT gem, however it would be nice to just have a one-stop-shop on this issue...and I like the way Handlebars_Assets works with regards to what it does, would be really nice to be able to use the same template both client and server-side in a rails app. |
Hi @noiseunion, Interesting. So you want to render the Handlebars template inside a rails view on the server OR as a JavaScript template in the browser? Let me think about it, I might have some time this week. |
yeah that would be the goal. :) Would eliminate the need for duplicating a template which would be awesome! |
Hi @grigio, @noiseunion, Do either of you want to take a stab at this? I am still swamped. |
Sorry for the delay in getting back. I would be willing to give it a whirl when I get a chance. Just not sure when that will be yet. |
Oh man! I want this too. |
+1 |
Is possible to access to the handlebars templates server side?. I mean the equivalent of poirot or stache which use mustache instead of handlebars
in https://github.com/olivernn/poirot
The text was updated successfully, but these errors were encountered: