aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-19 12:27:03 -0400
committertaehoon <th.dev91@gmail.com>2019-09-20 11:35:47 -0400
commit8b321f6f1fd8b906cd9e224bbfc2356c8e4e4235 (patch)
tree94da739744c8cee6379983116eac701290a43ba1 /src/main.js
parent60c3501d35817f591775a0309f3f7070a14bfd4a (diff)
add body-scroll-lock directive
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js
index b3256e8e..ffaf0ad5 100644
--- a/src/main.js
+++ b/src/main.js
@@ -26,6 +26,7 @@ import messages from './i18n/messages.js'
import VueChatScroll from 'vue-chat-scroll'
import VueClickOutside from 'v-click-outside'
import PortalVue from 'portal-vue'
+import VBodyScrollLock from './directives/body_scroll_lock'
import VTooltip from 'v-tooltip'
import afterStoreSetup from './boot/after_store.js'
@@ -38,6 +39,7 @@ Vue.use(VueI18n)
Vue.use(VueChatScroll)
Vue.use(VueClickOutside)
Vue.use(PortalVue)
+Vue.use(VBodyScrollLock)
Vue.use(VTooltip)
const i18n = new VueI18n({