Skip to content

Latest commit

 

History

History
64 lines (58 loc) · 1.82 KB

README.md

File metadata and controls

64 lines (58 loc) · 1.82 KB

vue-cordova-ratchet

A Template created with vue cli and vue-cordova. This will compile using to IOS, Android, Electron, and OSX native all from the cli out the box!

Project setup

git clone git@github.com:jeremykenedy/vue-cordova-ratchet.git vue-cordova-ratchet
cd vue-cordova-ratchet/
cp .env.example .env
npm install
  • Configure your .env file.

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Vue Cordova Plugin Usage

Prepare

npm run cordova-prepare # prepare for build (you can run this command, when you checkouted your project from GIT, it's like npm install)

Android

npm run cordova-serve-android # Development Android
npm run cordova-build-android # Build Android
npm run cordova-build-only-www-android # Build only files to src-cordova

IOS

npm run cordova-serve-ios # Development IOS
npm run cordova-build-ios # Build IOS
npm run cordova-build-only-www-ios # Build only files to src-cordova

OSX

npm run cordova-serve-osx # Development OSX
npm run cordova-build-osx # Build OSX
npm run cordova-build-only-www-osx # Build only files to src-cordova

Browser

npm run cordova-serve-browser # Development Browser
npm run cordova-build-browser # Build Browser
npm run cordova-build-only-www-browser # Build only files to src-cordova

Electron

npm run cordova-serve-electron # Development Electron
npm run cordova-build-electron # Build Electron
npm run cordova-build-only-www-electron # Build only files to src-cordova

References