My vue.js + vuetify and cordova starter, made to build APKS and sell them .
Nowadays, it is now possible to create an Android APK, and to sell it, by simply compiling the vue.js app using CORDOVA ! No need to use IONIC any more ! As long as your general CSS medias queries are well done in App.vue, it is good looking on all device, and code stays easy to do
https://fr.jeffprod.com/blog/2018/creer-une-application-android-avec-cordova-et-vuejs/
https://cours.brosseau.ovh/tp/cordova/vuejs_cordova.html
-
Clone this depot using SMARGIT, then run
npm install
-
Install a cordova app in another directory
cordova create cordovatest com.exemple.test "My app"
-
Install Android Studio, SDK , JDK , Gradle then check that everything is ok:
cordova requirements
npm run serve
Then, gotto the \src directory and start developping. Développer l'application vue.js sur localhost:8080 : tout se passe dans le rep \src
#Go to the \vuetify-mobile-cordova dir then hit:
npm run build
The packaged app will appear in the \dist directory.
Packager l'application front end vue.js pour la production :
Moove the \vuetify-mobile-cordova\dist content to cordovatest\www ,then run :
cordova build android --prod
cordova run android
You have to sign the APK
Vous devez signer l'apk et ouvrir un compte google store dev.
Check this link :
https://fr.jeffprod.com/blog/2018/creer-une-application-android-avec-cordova-et-vuejs/
npm run test
npm run lint
https://adbdriver.com/downloads/
- Android 8.0 - Mobile Phone
- Android 4.0 ( Seems to be too old) - Samsung tablet
- USB port is not powerful enough, add a powered usb hub . Le port USB ne débite pas assez de courant, ajouter un hub USB alimenté.