1.0.0 • Published 7 years ago
vue-sharer v1.0.0
vue-sharer
The Vue directive that bind to Sharer.js
Requirements
- Vue 1.x or 2.x
Installing
$ yarn add vue-shareror
$ npm install vue-sharer --saveGetting Started
import VueSharer from 'vue-sharer'
new Vue({
directives: {
sharer: VueSharer,
},
})<button class="sharer button" data-sharer="twitter" data-title="title" v-sharer>
Share on Twitter
</button>Example
First, try to build example projects.
$ git clone https://github.com/emoji-gen/vue-sharer.git
$ cd vue-sharer
$ npm install
$ npm run exampleLicense
MIT © Emoji Generator