什么发生在phonegap 3.4,3.3命令行界面? [英] what happen to phonegap 3.4, 3.3 command line interface?
问题描述
我以前使用phonegap之前版本3.3命令行界面如下文中所述:
I used to use phonegap prior to version 3.3 command line interface as mentioned in the docs below:
http://docs.phonegap.com/en/3.2.0/guide_cli_index.md.html# %20命令行%20接口
但是安装phonegap 3.4后,phonegap命令行已被cordovas的替换,如下所示:
however after installing phonegap 3.4 the phonegap command line have been replaced by cordovas's as mentioned here:
http://docs.phonegap.com/en/3.4.0/guide_cli_index.md.html#The%20Command-Line%20Interface
我试试运行cordova CLI但它不存在。
I try to run cordova CLI but it does not exist. do I miss something ?
我的问题是我仍然可以使用doc phonegap 3.2中提到的旧phonegap命令行吗?如果我仍然使用phonegap 3.2 for phonegap 3.4有什么影响?
My question is can I still use the old phonegap command line as mentioned in the doc phonegap 3.2 ? is there any impact if I still use phonegap 3.2 for phonegap 3.4 ?
如果我按照phonegap 3.4中提到的文档,我必须安装cordova和phonegap吗?
If I follow the doc mentioned in phonegap 3.4 do I have to install cordova along with phonegap ?
推荐答案
很抱歉,我不得不更新我的答案,因为phonegap 3.3之后你必须安装Apache Cordova。
Sorry i had to update my answer because after phonegap 3.3 you have to install Apache Cordova.
sudo npm install -g cordova
并使用 cordova
而不是 phonegap
。例如: cordova平台添加ios
。
and use cordova
instead of phonegap
. for example: cordova platform add ios
.
这篇关于什么发生在phonegap 3.4,3.3命令行界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!