diff options
author | Joas Schilling <coding@schilljs.com> | 2019-10-15 13:54:55 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-10-17 11:23:15 +0200 |
commit | ffdeb95654659d9a854081e9a9156a3cbdda692e (patch) | |
tree | d5d8add62e97cb699e78efbb5eaf61f61b00185c /src/main.js | |
parent | cde4b0067940ff207f52c34f52bc6ffe4b55b23a (diff) |
Add "Copy link" feature with vue-clipboard2
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 6ba649a73..0a25a6021 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,7 @@ import Vuex from 'vuex' import contenteditableDirective from 'vue-contenteditable-directive' import store from './store' import VueRouter from 'vue-router' +import VueClipboard from 'vue-clipboard2' import router from './router/router' import { generateFilePath } from 'nextcloud-router' import { getRequestToken } from 'nextcloud-auth' @@ -48,6 +49,7 @@ Vue.prototype.OCA = OCA Vue.use(contenteditableDirective) Vue.use(Vuex) Vue.use(VueRouter) +Vue.use(VueClipboard) export default new Vue({ el: '#content', |