01.cordova installation and project creation

1. Install cordova

cnpm install -g [email protected] here with version 6.0.0, the default download the latest version, created when the project will complain

 

 

 

 2. Create a project

cordova create myapp2

 

 

3. Add the browser support

cordova platform add browser

 

 

 4. Run the project

cordova run browser

 

 

 

 

The project directory structure

 

 

 

Guess you like

Origin www.cnblogs.com/v616/p/11440251.html