Skip to content

Commit

Permalink
No need to inject copyText.
Browse files Browse the repository at this point in the history
  • Loading branch information
webcore-it committed Jun 12, 2018
1 parent e040f5d commit af46bef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-clipboard2",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"keywords": [
"copy",
Expand Down
6 changes: 1 addition & 5 deletions plugin.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue';
import VueClipboard from 'vue-clipboard2';

Vue.use(VueClipboard);

export default function (ctx, inject) {
inject('copyText', Vue.copyText);
}
Vue.use(VueClipboard);

0 comments on commit af46bef

Please sign in to comment.