Added vue-observe-visibility

This commit is contained in:
Gamebrary 2021-02-01 13:46:20 -07:00
parent 9219002489
commit b8fa6c96fe
3 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,7 @@
"vue-axios": "^2.1.1",
"vue-i18n": "^8.0.0",
"vue-markdown": "^2.2.4",
"vue-observe-visibility": "^1.0.0",
"vue-raven": "^1.0.0",
"vue-router": "^3.0.1",
"vuedraggable": "^2.16.0",

View file

@ -9,6 +9,7 @@ import axios from 'axios';
import VueAnalytics from 'vue-analytics';
import Raven from 'raven-js';
import RavenVue from 'raven-js/plugins/vue';
import VueObserveVisibility from 'vue-observe-visibility';
import App from '@/App';
import messages from '@/i18n/';
import store from '@/store/';
@ -25,6 +26,7 @@ Object.defineProperties(Vue.prototype, {
},
});
Vue.use(VueObserveVisibility);
Vue.use(BootstrapVue, bootstrapSettings);
Vue.use(VueAnalytics, { id: 'UA-120053966-1', router });
Vue.use(VueAxios, axios);

View file

@ -11121,6 +11121,11 @@ vue-markdown@^2.2.4:
markdown-it-task-lists "^2.0.1"
markdown-it-toc-and-anchor "^4.1.2"
vue-observe-visibility@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/vue-observe-visibility/-/vue-observe-visibility-1.0.0.tgz#17cf1b2caf74022f0f3c95371468ddf2b9573152"
integrity sha512-s5TFh3s3h3Mhd3jaz3zGzkVHKHnc/0C/gNr30olO99+yw2hl3WBhK3ng3/f9OF+qkW4+l7GkmwfAzDAcY3lCFg==
vue-raven@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/vue-raven/-/vue-raven-1.0.3.tgz#cce941a9255e9694a5793c384fd8ab2e576ce764"