Cordova: How to change HTML source directory?

2019-05-23 12:18发布

问题:

I am trying to use Cordova 3.4 in conjunction with AngularJS. I followed this tutorial and at some point it asks me to alter html.source.dir and html.asset.dir in ant.properties file. However, I am not being able to find this file anywhere in my source directory. How do I change html source directory in Cordova?

Regards,

JadeSync.

回答1:

turns out ant.properties do not come bundled with new versions of Cordova. I had to alter Gruntfile.js to change these directories.