mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
Added sentry.io
This commit is contained in:
parent
f1790de781
commit
838a89b736
3 changed files with 21 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
"lodash": "^4.17.11",
|
||||
"moment": "^2.22.1",
|
||||
"node-sass": "^4.8.3",
|
||||
"raven-js": "^3.27.0",
|
||||
"sass-loader": "^7.0.1",
|
||||
"sw-precache-webpack-plugin": "^0.11.5",
|
||||
"v-tooltip": "^2.0.0-rc.33",
|
||||
|
@ -35,6 +36,7 @@
|
|||
"vue-gallery": "^1.5.0",
|
||||
"vue-gravatar": "^1.2.1",
|
||||
"vue-i18n": "^8.0.0",
|
||||
"vue-raven": "^1.0.0",
|
||||
"vue-router": "^3.0.1",
|
||||
"vue-sweetalert2": "^1.5.3",
|
||||
"vuedraggable": "^2.16.0",
|
||||
|
|
|
@ -8,6 +8,8 @@ import VueI18n from 'vue-i18n';
|
|||
import VueSweetalert2 from 'vue-sweetalert2';
|
||||
import axios from 'axios';
|
||||
import VueAnalytics from 'vue-analytics';
|
||||
import Raven from 'raven-js';
|
||||
import RavenVue from 'raven-js/plugins/vue';
|
||||
import App from './App';
|
||||
import messages from './i18n';
|
||||
import router from './router';
|
||||
|
@ -42,6 +44,13 @@ Vue.use(VueFire);
|
|||
Vue.use(VueI18n);
|
||||
Vue.use(VueSweetalert2);
|
||||
|
||||
if (process.env.NODE_ENV !== 'development') {
|
||||
Raven
|
||||
.config('https://15928bc58e7b45ac93878da6d8146064@sentry.io/1315568')
|
||||
.addPlugin(RavenVue, Vue)
|
||||
.install();
|
||||
}
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
router.beforeEach((to, from, next) => {
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -7479,6 +7479,10 @@ range-parser@^1.0.3, range-parser@^1.2.0, range-parser@~1.2.0:
|
|||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
|
||||
|
||||
raven-js@^3.22.3, raven-js@^3.27.0:
|
||||
version "3.27.0"
|
||||
resolved "https://registry.yarnpkg.com/raven-js/-/raven-js-3.27.0.tgz#9f47c03e17933ce756e189f3669d49c441c1ba6e"
|
||||
|
||||
raw-body@2.3.3:
|
||||
version "2.3.3"
|
||||
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3"
|
||||
|
@ -9223,6 +9227,12 @@ vue-loader@^13.3.0:
|
|||
vue-style-loader "^3.0.0"
|
||||
vue-template-es2015-compiler "^1.6.0"
|
||||
|
||||
vue-raven@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/vue-raven/-/vue-raven-1.0.0.tgz#d05e332a25a96fb3662fbc4979d93aa7c3fa6550"
|
||||
dependencies:
|
||||
raven-js "^3.22.3"
|
||||
|
||||
vue-resize@^0.4.3:
|
||||
version "0.4.4"
|
||||
resolved "https://registry.yarnpkg.com/vue-resize/-/vue-resize-0.4.4.tgz#dee9b8dd1b189e7e3f6ec47f86c60694a241bb17"
|
||||
|
|
Loading…
Reference in a new issue