diff --git a/README.md b/README.md index 995af09..fbdd630 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,38 @@ A simple vuejs 2 binding for clipboard.js ## Install -`npm install --save vue-clipboard2` or use `dist/vue-clipboard.js` without webpack +`npm install --save vue-clipboard2` or use `dist/vue-clipboard.min.js` without webpack ## Usage +For vue-cli user: + +```javascript +import Vue +import VueClipboard from 'vue-clipboard2' + +Vue.use(VueClipboard) +``` + +For standalone usage: + +```html + + + +``` + +## Sample + ```html