A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
Built destination is ./cordova/www
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
# install cordova
npm install -g cordova
# all cordova commands must be run from /cordova
cd cordova
# install platforms and plugins
cordova prepare
# build app
npm run build
# build
cordova build [ios|android]
More on Cordova