1
0
Fork 0
mirror of https://github.com/Findus23/RadioStats.git synced 2024-09-19 16:03:48 +02:00
RadioStats/web/main.js

26 lines
637 B
JavaScript
Raw Normal View History

2018-02-08 19:06:40 +01:00
import Vue from 'vue';
import VueHead from 'vue-head';
import App from './App.vue';
import router from './routes';
import MatomoTracker from './MatomoTracker';
2019-07-17 17:07:43 +02:00
import {init} from '@sentry/browser';
import * as Integrations from '@sentry/integrations';
2018-12-25 17:01:43 +01:00
if (process.env.NODE_ENV === "production") {
init({
dsn: 'https://91af780499634f98a17afe160c6ace89@sentry.lw1.at/12',
integrations: [new Integrations.Vue({Vue})],
release: COMMIT_HASH
});
}
2018-02-08 19:06:40 +01:00
2018-09-21 21:06:03 +02:00
Vue.use(VueHead);
2018-02-08 19:06:40 +01:00
let matomo = new MatomoTracker;
matomo.init();
let app = new Vue({
el: '#app',
router,
render: h => h(App),
comments: true
});