Giter Club home page Giter Club logo

phonegap-vueify's Introduction

PhoneGap Vueify

PhoneGap with Vue, Browserify + vueify, hot reload, linting and unit testing.

Getting Started

Prerequisites

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

Installation

via Github

$ git clone https://github.com/leMaur/phonegap-vueify.git MyApp
$ cd MyApp
$ npm install
$ npm run dev

via Phonegap

$ npm install -g phonegap
$ phonegap create MyApp --template phonegap-vueify
$ cd MyApp
$ npm install
$ npm run dev

via Cordova

$ npm install -g cordova
$ cordova create MyApp --template=phonegap-vueify
$ cd MyApp
$ npm install
$ npm run dev

Please, change MyApp with your folder name.
You can then open the app in your browser by visiting localhost:8888

What's included

  • npm run dev: Browserify + vueify with proper config for source map & hot-reload.
  • npm run build: Production build with HTML/CSS/JS minification.
  • npm run lint: Lint JavaScript and *.vue files with ESLint.
  • npm test: Unit tests in PhantomJS with Karma + karma-jasmine + karma-browserify, with support for mocking and ES2015.
  • npm run prepare [ ios | android ]: Set the platform. Example (npm run prepare -- ios).
  • npm run [ ios | android ]: Run in the iOS simulator / Android emulator. (Running in another terminal).
  • npm run compile [ ios | android ]: Build the app for the specified platform. Example (npm run compile -- ios).
  • npm run clean: Clean the platforms/ and dist/ folders.

License

MIT. Copyright (c) 2016 Maurizio Lepora.

Credits

phonegap-vueify's People

Contributors

lemaur avatar

Watchers

Debjit Biswas avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.