vue-sharer
v1.0.0
Published
The Vue directive that bind to Sharer.js
Downloads
149
Readme
vue-sharer
The Vue directive that bind to Sharer.js
Requirements
- Vue 1.x or 2.x
Installing
$ yarn add vue-sharer
or
$ npm install vue-sharer --save
Getting 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 example
License
MIT © Emoji Generator