
Starting with an existing PhoneGap or Cordova application When you click Create, WebStorm generates a skeleton of an application with the framework-specific structure. Depending on your operating system and target platform, this can be phonegap, phonegap.cmd, cordova, or cordova.cmd. Specify the location of the executable file. In the right-hand pane, specify the path to the folder where the project-related files will be stored. Select Cordova even if you are going to develop a PhoneGap or an iOS application, because these frameworks use quite similar app generators. Create an application from a templateĬlick Create New Project on the Welcome screen or select File | New | Project from the main menu. Alternatively, create an empty WebStorm project as described in Creating projects and configure PhoneGap or Cordova support in it. If you have no application yet, you can generate a WebStorm project with PhoneGap or Cordova-specific structure from a boilerplate template. Learn more from the Cordova official website.Ĭreating a new PhoneGap or Cordova application Npm install -g more from the PhoneGap official website. In the embedded Terminal ( Alt+F12), type one of the following commands: Open the embedded Terminal ( Alt+F12) and type: To emulate the iOS platform, install the ios-sim and ios-deploy command-line tools globally.


Learn more from the Cordova official website. Make sure you have Node.js on your computer.ĭownload and install an emulator tool depending on the target platform and the operating system you use. Install and enable the Cordova plugin on the Settings/Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository. PhoneGap and Apache Cordova are frameworks for developing mobile application with single HTML, CSS, and JavaScript/TypeScript code base and targeting various mobile platforms, including Android.
