1.0.4 • Published 8 years ago

v-cordova v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Vue.js plugin for Cordova

Note : Compatible with every version of VueJS (1.x and 2.x)

How to use

Add the NPM package to your project

npm install --save v-cordova

Add the plugin to your Vue instance according to your setup

// CommonJS
var Vue = require('vue');
var VueCordova = require('v-cordova');
Vue.use(VueCordova);

// import
import Vue from 'vue'
import VueCordova from 'v-cordova'
Vue.use(VueCordova)

The package provides a global object Vue.cordova

console.log(Vue.cordova);

This object provides API for the following events and will hold the Cordova plugins API objects you might be using.

This library is a syntax helper. It provides an easier access to the global variables defined by Cordova.

Demo

A repository with a full working demo is available to help you bootstrap a new project or cherry-pick working code.

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago