Create a project using my app as a starter in Phonegap

My git application contains only the folder wwwand therefore looks like this:

css
img
js
res
config.xml
icon.png
index.html

To start development, I need:

  • Clone my application in www-app
  • Create a phonegap application phonegap create testapp com.example.testapp "Test"
  • delete testapp/wwwand copy www-apptotestapp/www

Is there an easier way to configure this? Perhaps I can specify the project to build from phonegap createinstead of the phonegap-start project .

0
source share
1 answer

CLG , CLI cordova CLI --copy-from, - phonegap create testapp com.example.testapp "Test" --copy-from www-app. CLI cordova create testapp com.example.testapp "Test" --copy-from www-app .

+1

Source: https://habr.com/ru/post/1545750/


All Articles