https://github.com/fraigo/vuetify-cordova
App template for hybrid apps using Vue.js / Vuetify / Cordova
https://github.com/fraigo/vuetify-cordova
cordova nodejs phonegap pwa vue vuetify webcomponents webpack
Last synced: about 1 year ago
JSON representation
App template for hybrid apps using Vue.js / Vuetify / Cordova
- Host: GitHub
- URL: https://github.com/fraigo/vuetify-cordova
- Owner: fraigo
- License: mit
- Created: 2018-04-03T05:51:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T02:35:37.000Z (over 4 years ago)
- Last Synced: 2025-05-12T17:22:09.683Z (about 1 year ago)
- Topics: cordova, nodejs, phonegap, pwa, vue, vuetify, webcomponents, webpack
- Language: JavaScript
- Homepage: https://fraigo.github.io/vuetify-cordova/www/
- Size: 2.19 MB
- Stars: 37
- Watchers: 5
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
``` bash
# install dependencies
npm install
# add respective platforms
cordova platform add android
cordova platform add ios
```
## Build commands
```bash
# 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
# create an Archive.zip package for Adobe Phonegap
npm run pack
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
# build for production and cordova build.
npm run cordova-build
# build for production and serve the app through the browser - no hot reload.
npm run browser
# build for production and serve the app on an iOS device
npm run ios
# build for production and serve the app on an android device (won't serve on a virtual device)
npm run android
# build for production and serve the app on an android device (will serve on a virtual device or physical device - prefers virtual)
npm run android-vm
```
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
## Command line tools
### Cordova CLI
```
npm install -g cordova
```
### PhoneGap Build CLI
```
npm install -g pgb-cli
```