Cordova App Templates
Cordova App Templates
Use a Template
Templates allow you to use preexisting code to jumpstart your project.
Find a template to create your app from by seaching for the keyword cordova:template
on npm. You can also use local templates on your computer, or a Git repository.
After locating a template you wish to use. Create your project using that template, by specifying the --template
flag during the create
command, followed by your template source.
Creating a cordova project from an NPM package, Git repository, or local path:
$ cordova create hello com.example.hello HelloWorld --template <npm-package-name> $ cordova