Cordova: How to change HTML source directory?

拈花ヽ惹草 提交于 2019-12-22 11:28:27

问题


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.



来源:https://stackoverflow.com/questions/23886257/cordova-how-to-change-html-source-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!