diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-09 18:03:34 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-09 18:03:34 +0100 |
commit | 3890564d56bc12c7704cbfe41094b18bd0e6013d (patch) | |
tree | f45b5849998dd1080c11c155629b8928846fd9d5 /src/main.js | |
parent | 74e055d024050f9d936f5e5d6c5b7f93d6c207d8 (diff) | |
parent | 38ea18f362d5c506582cfa715f30789fb85beae3 (diff) |
Merge branch 'master' of https://github.com/nextcloud/contacts into disabled-ab-should-not-be-suggested
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index dc600319..5d02fcb9 100644 --- a/src/main.js +++ b/src/main.js @@ -27,6 +27,20 @@ import router from './router' import store from './store' import { sync } from 'vuex-router-sync' +/** GLOBAL COMPONENTS AND DIRECTIVE */ +import { AppNavigation, DatetimePicker, Multiselect, PopoverMenu } from 'nextcloud-vue' +import ClickOutside from 'vue-click-outside' +import Tooltip from 'v-tooltip' +import VueClipboard from 'vue-clipboard2' + +Vue.component('AppNavigation', AppNavigation) +Vue.component('DatetimePicker', DatetimePicker) +Vue.component('Multiselect', Multiselect) +Vue.component('PopoverMenu', PopoverMenu) +Vue.directive('ClickOutside', ClickOutside) +Vue.directive('Tooltip', Tooltip) +Vue.use(VueClipboard) + // CSP config for webpack dynamic chunk loading // eslint-disable-next-line __webpack_nonce__ = btoa(OC.requestToken) |