Cordovue: Apache Cordova app with Vue.js
CordoVue
Cordova with Vue and Webpack.
Cordova can help you build mobile apps with HTML, CSS & JS, in multiple platforms with one code base.
To use this you'll need Node.js v6 or newer.
Installation
$ git clone https://github.com/TheMushrr00m/cordovue.git MyAwesomeApp
$ cd MyAwesomeApp
$ yarn install
$ yarn run build
$ yarn run android
$ yarn run ios
via Cordova
$ yarn global add cordova
$ cordova create MyAwesomeApp --template=cordovue
$ cd MyAwesomeApp
$ yarn install
$ yarn run build
$ yarn run android
$ yarn run ios
Then, you can open the app in your browser by visiting localhost:8888
What's included
yarn run dev
: Webpack config for source map & hot-reload (Coming soon).yarn run build
: Production build with HTML/CSS/JS minification.yarn run prepare [ ios | android ]
: Set the platform. Example (yarn run prepare -- android
).yarn run [ ios | android ]
: Run in the iOS simulator / Android emulator. (Running in another terminal). Or physical device.yarn run compile [ ios | android ]
: Build the app for the specified platform. Example (yarn run compile -- ios
). (Coming soon).yarn run clean
: Clean theplatforms/
anddist/
folders. (Coming soon)
Find Cordovue on GitHub, by @Mushr00m_Dev.