Cordova:如何更改HTML源目录? [英] Cordova: How to change HTML source directory?

查看:116
本文介绍了Cordova:如何更改HTML源目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Cordova 3.4与AngularJS结合使用。我跟着本教程,并在某些时候请我修改ant.properties文件中的html.source.dir和html.asset.dir。但是,我无法在源目录中的任何位置找到此文件。
如何更改Cordova中的html源目录?

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?

问候,

JadeSync。

JadeSync.

推荐答案

结果证明ant.properties没有与新版本的Cordova捆绑在一起。我不得不改变Gruntfile.js来改变这些目录。

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

这篇关于Cordova:如何更改HTML源目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆