Cordova 開発環境のセットアップ

improve this page | report issue

概説

Cordova (PhoneGap) 開発を始めるために、ごく基本的で必要なステップとして、Cordova CLI をインストールします。 Cordova CLI は、Cordova アプリケーションの作成を可能にするツールです。 これらのアプリケーションは、サード・パーティーの各種フレームワークおよびツール (Ionic、AngularJS、jQuery Mobile、その他多数) を使用してさらに拡張することができます。 Cordova アプリケーションでは、アプリケーションおよびアダプターの実装には、任意のコード・エディター (Atom.io、Visual Studio Code、Eclipse、IntelliJ、その他) を使用できます。

前提条件: Cordova 開発環境をセットアップする際には、MobileFirst 開発環境のセットアップのチュートリアルも必ずお読みください。

Cordova CLI のインストール

Mobile Foundation は、Apache Cordova CLI 6.x 以降をサポートします。
インストールするには、以下のようにします。

  1. NodeJS をダウンロードしてインストールします。
  2. コマンド・ライン・ウィンドウから、次のコマンドを実行します。npm install -g cordova

次のステップ

Cordova アプリケーションで MobileFirst 開発を続けるには、MobileFirst Cordova SDK/プラグインが Cordova アプリケーションに追加されなければなりません。

Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on March 15, 2018