Wendo Frontend
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for web production with minification
npm run build
# build for mobile production with minification
npm run build:mobile
# add android platform to cordova setup, before that, please read cordova document
cordova platform add android
# add android platform to cordova setup, before that, please read cordova document
cordova platform add ios
# find out available devices to run android
cordova run android --list
# run android with specified device, [target] from `cordova run android --list`
cordova run android --target [target]
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
https://cordova.apache.org/docs/en/latest/guide/cli/index.html
https://www.clearlyagileinc.com/blog/using-the-visual-studio-android-emulator-with-android-studio