Adding a new template in PhoneGap CLI

Report
Question
11 views

Please explain why do you think this question should be reported?

Report Cancel

1.Add your template to the package.json template section.

 // the key is your template name (e.g. hello-world)
 // the url is a HTTP URL to a .tar.gz.
 {
   "templates": {
     "hello-world": {
       "description": "Default hello world app for PhoneGap.",
       "url": "https://github.com/phonegap/phonegap-app-hello-world/archive/master.tar.gz"
     }
   }
 }

2. Send the Phonegap Site the request

 

Please follow and like us:

About the Author