phonegap / phonegap-docs

PhoneGap Documentation
http://docs.phonegap.com
Apache License 2.0
121 stars 246 forks source link

Conflicting information about directory structure in zip file #253

Open nodefish opened 7 years ago

nodefish commented 7 years ago

This page: http://docs.phonegap.com/phonegap-build/getting-started/app-project-structure/

...specifically says it's OK not having the config.xml and index.html in the same folder:

www: (required) this directory contains the html, javascript and other assets that should be included in your application. This directory should contain a file called index.html that is the HTML root of your application.

However, when doing so, I get "Error - No index.html found" when attempting to build. Upon researching further, I came across the following page: http://docs.phonegap.com/phonegap-build/start/#structure_application

...which says:

PhoneGap Build's only requirement for your application structure is that the config.xml and index.html is in the top level of your application. Other than that you can structure your application as dictated by your workflows.

I'm unclear on what the proper approach here is.

nodefish commented 7 years ago

OK, this was a brain fail. One of the articles was for the PG desktop app.

nodefish commented 7 years ago

Or not? I can't even tell. Consider this report as: "the docs are unclear with regard to the proper app structure." Thanks. :)