我已在我的 Mac 上安装了 Cordova 并开发了一个应用程序。它的结构如下所示:
现在,为了使用 Phonegap Build,config.xml 必须放置在 index.html 的旁边。这使得在两个工具之间切换变得非常不方便。
有没有办法让 Phonegap Build 查找位于 www 文件夹内的 index.html 文件,而不是 config.xml 旁边的文件?
请注意,config.xml 放置在 www 文件夹之外。
- config.xml
- www
- index.html
- index.js
- cordova
- plugins
- platforms
现在,为了使用 Phonegap Build,config.xml 必须放置在 index.html 的旁边。这使得在两个工具之间切换变得非常不方便。
有没有办法让 Phonegap Build 查找位于 www 文件夹内的 index.html 文件,而不是 config.xml 旁边的文件?