Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@heyheni exactly what I was looking at, but it doesn't support from file including, so I thought I would just get the template via request first and then pass it to handlebar, but its still surprising to me that theres no other solution? so I wanted to ask before doing this frankenstein imo.
-
ok and why do you need that funtionality? isn't there another way that let's you use handlebars as is? 🙂
-
@heyheni I think I am overcomplicating things really, since I have too much solutions stuck up my head, all I want is to have the basic template across all pages, with the easiest solution possible, avoiding any shit like jquery multi-pages. Thinking of loading the first page and then handling any other via pjax right now.
-
@heyheni yeah, solved it with pjax now, so the index contains all the crap now and everything else contains only the content.

This never gets old...
Exactly
¯\_(ツ)_/¯
To the guys that develop any form of hybrid applications, is there literally no js templating engine that accepts template files as its base? I could write probably a single file that just returns the template and then all the others request it before templating, but seriously, is there no ready to go solution?
undefined
templating
engine
javascript