![]() ![]() In the Cordova working directory field, specify the folder where the application files to run are stored.īy default, WebStorm automatically treats the platforms or www directory as excluded and ignores it during indexing, parsing, and code completion, see Configuring folders in a content root. WebStorm detects the installed version and displays it in the Cordova version read-only field. This can be phonegap, phonegap.cmd, cordova, or cordova.cmd, depending on your operating system and the selected framework. Open the Settings dialog ( Control+Alt+S) and go to Languages & Frameworks | JavaScript | Cordova.Ĭheck the location of the executable file or specify the path to it if WebStorm has not detected the executable automatically. Configure PhoneGap or Cordova in your project To continue developing an existing application, open it in WebStorm, download the required dependencies, and configure PhoneGap or Cordova support in your project. 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. Install and enable the Cordova plugin on the Settings | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains Marketplace.ĭownload and install an emulator tool depending on the target platform and the operating system you use. Make sure you have Node.js on your computer. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |