Skip to content

Commit

Permalink
feat: replace vue-clipboards with vue-clipboard2
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Apr 12, 2019
1 parent 4bf6176 commit fb700d7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion client/pages/account/token.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</el-form-item>
<el-form-item>
<el-button
v-clipboard="token"
v-clipboard:copy="token"
type="primary"
>
Copy
Expand Down
4 changes: 2 additions & 2 deletions client/plugins/clipboard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Vue from 'vue'
import VueClipboards from 'vue-clipboards'
import VueClipboard from 'vue-clipboard2'

Vue.use(VueClipboards)
Vue.use(VueClipboard)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"nuxt-property-decorator": "^2.1.3",
"svg-captcha": "^1.3.11",
"vue-chartjs": "^3.4.2",
"vue-clipboards": "^1.2.4",
"vue-clipboard2": "^0.3.0",
"vue-i18n": "^7.6.0",
"xmlify": "^1.1.0"
},
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2881,10 +2881,10 @@ cli-width@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=

clipboard@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b"
integrity sha1-Ng1taUbpmnof7zleQrqStem1oWs=
clipboard@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d"
integrity sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ==
dependencies:
good-listener "^1.2.2"
select "^1.1.2"
Expand Down Expand Up @@ -10933,12 +10933,12 @@ vue-class-component@^6.2.0:
resolved "https://registry.yarnpkg.com/vue-class-component/-/vue-class-component-6.3.2.tgz#e6037e84d1df2af3bde4f455e50ca1b9eec02be6"
integrity sha512-cH208IoM+jgZyEf/g7mnFyofwPDJTM/QvBNhYMjqGB8fCsRyTf68rH2ISw/G20tJv+5mIThQ3upKwoL4jLTr1A==

vue-clipboards@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/vue-clipboards/-/vue-clipboards-1.2.4.tgz#31bc7e47f962c6ce0ba974649fc6f8a35d83a6ef"
integrity sha512-33W4Zi3tHFwFyHGjjH3j0mcr9vS5c+h7QUtT6PnQPLHB0fW05Mi+Q7lpSvJp+nNNnyAF6uRhK4EZsn/El1nY+A==
vue-clipboard2@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/vue-clipboard2/-/vue-clipboard2-0.3.0.tgz#b04d3f9a2d46f12ca85178445930b38463640b22"
integrity sha512-6/Y9NJErWb4LNBLMgsJSdKb7KpF6/jqXagvKlYut6VQzQsNj6515FpwH0r5hhmeJMqaPzf1kxAw8L8Qvw/QBJQ==
dependencies:
clipboard "^1.7.1"
clipboard "^2.0.0"

vue-hot-reload-api@^2.3.0:
version "2.3.3"
Expand Down

0 comments on commit fb700d7

Please sign in to comment.