kandimat-user-app/src/main.js
Christoph Lienhard de3d972191 Remove Social Media and Google Relations
* Remove Google analytics
* Remove cookies
* And the DSGVO banner
* Removed Social Media Connections
* Removed Cookie Consent stuff
* Removed Social Media related stuff in Datenschutzerklärung
2020-05-03 12:32:43 +02:00

36 lines
767 B
JavaScript

import Vue from 'vue'
import VueSVGIcon from 'vue-svgicon'
import { init as initSentry } from '@sentry/browser'
import * as Integrations from '@sentry/integrations'
import App from '@/app/app'
import router from '@/router'
import i18n from '@/i18n'
import storage from '@/helper/storage'
import '@/registerComponents'
import '@/registerServiceWorker'
Vue.config.productionTip = false
Vue.use(VueSVGIcon)
Vue.use(storage)
if (process.env.NODE_ENV === 'production') {
initSentry({
dsn: process.env.VUE_APP_SENTRY_DSN,
integrations: [new Integrations.Vue({ Vue, attachProps: true })]
})
}
new Vue({
i18n,
router,
data: {
backupStorage: {
answers: undefined,
emphasized: undefined
}
},
render: h => h(App)
}).$mount('#app')