简体   繁体   中英

PhoneGap project PhoneGap or Cordova CLI

I'm new to PhoneGap, I watched some video about how to add platforms at PhoneGap project. The most recent video I watched is 3 months old, it shouldn't be outdated and it says to use cordova CLI as also shown in this example.

Custom Build | PhoneGap Docs

but I also found this page that refer to phonegap CLI

PhoneGap CLI 3.6.3

is

phonegap platform add ios

an alias of

cordova platform add ios

I'm really confused, witch should I use?

Just so you know, Cordova is a library for PhoneGap. you can add the platform for which you want to develop you app, by adding this in you config.xml file:

If you enter non of those statments, it means that you app is for all platforms. Hope that help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM