Steffan Steffan - 23 days ago 17
Apache Configuration Question

HTML Templates in Apache Cordova?

I'm currently developing an app using Apache Cordova via Visual Studio, and a lot of my webpages are very similar - a while ago, I had used Django and found its templates (https://docs.djangoproject.com/en/1.10/topics/templates/) very useful for these situations. Does Apache Cordova offer and functionality similar to this? I was looking into Handlebars.js, but it seems like I cannot easily call an entire HTML page template in the same regard as I could using Django templates.

eb1 eb1
Answer

Cordova isn't really prescriptive in this regard. I'm currently using Handlebars.js in my app (link), but I know that there are others -- mustache.js, jQuery template, angularJS. Handlebars just happened to be the one I came across first.

Comments