Skip to content

TheMushrr00m/cordovue

Repository files navigation

CordoVue

A simple apache cordova sample project using Vue, Vuex, Vue-router, ESLint and Webpack.

Getting Started

Prerequisites

To use this you'll need Node.js v6 or newer.

Installation

via Github

$ git clone https://github.com/TheMushrr00m/cordovue.git MyAwesomeApp
$ cd MyAwesomeApp
$ yarn install
$ yarn build
$ yarn android
$ yarn ios

As simple as that!!

Route: '/' Cordovue app

Route: '/#/about' Cordovue app

Please, change MyAwesomeApp with your folder name.
Then, you can open the app in your browser by visiting localhost:8888

What's included

  • yarn dev: Webpack config for source map & hot-reload.
  • yarn build: Production build with HTML/CSS/JS minification.
  • yarn prepare [ ios | android ]: Set the platform. Example (yarn prepare -- android).
  • yarn [ ios | android ]: Run in the iOS simulator / Android emulator. (Running in another terminal). Or physical device.
  • yarn compile [ ios | android ]: Build the app for the specified platform. Example (yarn compile -- ios). (Coming soon).
  • yarn clean: Clean the platforms/ and dist/ folders. (Coming soon)

Tutorials

Presenting Cordovue - Spanish

TO-DO

  • Tests (is it necessary?).

License

MIT. Copyright (c) 2017 Gabriel Cueto <@Mushr00m_Dev>. Modified by @eugenioclrc

Credits

Created with ❤️ in Cancún 😎