Now that we have a template, we need to create a project based on it. Note that we'll be using the Cordova CLI in this section.
At the time of writing this book, the PhoneGap CLI did not support creating projects based on templates, so if you plan on using the PhoneGap CLI, you'll need to create your project, remove the content you don't want from the
www directory, and copy the files in your template directory to your project's
First, open your terminal app or command prompt and navigate to the location where you want to store your project files. Be sure to avoid paths that have spaces in them (depending on the platform and Cordova version, spaces can sometimes ...