Cordova + Vue environment to build

Cordova environment to build

Create an application: 

# cordova create <PATH> [ID [NAME [CONFIG]]] [options]

cordova create hello com.example.hello HelloWorld

Add support platform:

# List the supported platforms 
cordova Platform List

# Adds the specified platform support
cordova platform add android

Generation APP

# 生成安卓APK
$ cordova build android
....
BUILD SUCCESSFUL in 1m 47s
47 actionable tasks: 47 executed
Built the following apk(s):
/**/**/**/**/**/start/platforms/android/app/build/outputs/apk/debug/app-debug.apk

 Vue environment to build

 

Guess you like

Origin www.cnblogs.com/michaelluthor/p/11010371.html