7

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?

Comments
  • 1
  • 2
    @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.
  • 1
    ok and why do you need that funtionality? isn't there another way that let's you use handlebars as is? 🙂
  • 2
    @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.
  • 2
    @heyheni yeah, solved it with pjax now, so the index contains all the crap now and everything else contains only the content.
Add Comment