项目作者: fraigo

项目描述 :
App template for hybrid apps using Vue.js / Vuetify / Cordova
高级语言: JavaScript
项目地址: git://github.com/fraigo/vuetify-cordova.git
创建时间: 2018-04-03T05:51:01Z
项目社区:https://github.com/fraigo/vuetify-cordova

开源协议:MIT License

下载


vuetify-cordova

A VuetifyJs App template ready for Cordova App.

Web demo in https://fraigo.github.io/vuetify-cordova/www/

Android demo in https://build.phonegap.com/apps/3121691/share

Initial Setup

  1. # install dependencies
  2. npm install
  3. # add respective platforms
  4. cordova platform add android
  5. cordova platform add ios

Build commands

  1. # serve with hot reload at localhost:8080
  2. npm run dev
  3. # build for production with minification
  4. npm run build
  5. # build for production and view the bundle analyzer report
  6. npm run build --report
  7. # create an Archive.zip package for Adobe Phonegap
  8. npm run pack
  9. # run unit tests
  10. npm run unit
  11. # run e2e tests
  12. npm run e2e
  13. # run all tests
  14. npm test
  15. # build for production and cordova build.
  16. npm run cordova-build
  17. # build for production and serve the app through the browser - no hot reload.
  18. npm run browser
  19. # build for production and serve the app on an iOS device
  20. npm run ios
  21. # build for production and serve the app on an android device (won't serve on a virtual device)
  22. npm run android
  23. # build for production and serve the app on an android device (will serve on a virtual device or physical device - prefers virtual)
  24. npm run android-vm

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Command line tools

Cordova CLI

  1. npm install -g cordova

PhoneGap Build CLI

  1. npm install -g pgb-cli