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!
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.
npm run serve
npm run build
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