JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1fa8f3a Jun 30, 2017
Permalink
Failed to load latest commit information.
docs add sms plugin Jun 29, 2017
src add sms plugin Jun 29, 2017
.gitignore v0.0.1 May 25, 2016
.npmignore github pages Mar 10, 2017
README.md docs Mar 24, 2017
package.json bump v0.1.2 Dec 7, 2016
webpack.config.js fixed webpack issue Aug 25, 2016

README.md

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 vue-cordova

Add the plugin to your Vue instance according to your setup

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

// import
import Vue from 'vue'
import VueCordova from 'vue-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.

Documentation

For more information, check out http://kartsims.github.io/vue-cordova