1
1
import Vue from 'vue'
2
+ import './plugins/toMobile.js'
2
3
import VueProgressBar from 'vue-progressbar'
3
4
import './plugins/axios'
4
5
import App from './App.vue'
@@ -11,17 +12,17 @@ import './plugins/element.js'
11
12
import moment from 'moment'
12
13
import './style/common.scss'
13
14
import AsideAd from '@/components/AsideAd.vue'
14
- import * as Sentry from '@sentry/browser'
15
- import { Vue as VueIntegration } from '@sentry/integrations'
15
+ // import * as Sentry from '@sentry/browser'
16
+ // import { Vue as VueIntegration } from '@sentry/integrations'
16
17
17
- if ( process . env . NODE_ENV === 'production' ) {
18
- Sentry . init ( {
19
- dsn : 'https://53e44732a0fd4c398fe614fd058f1668@o412908.ingest.sentry.io/5296080' ,
20
- release : process . env . RELEASE_VERSION ,
21
- environment : process . env . NODE_ENV ,
22
- integrations : [ new VueIntegration ( { Vue, attachProps : true , logErrors : true } ) ]
23
- } )
24
- }
18
+ // if (process.env.NODE_ENV === 'production') {
19
+ // Sentry.init({
20
+ // dsn: 'https://53e44732a0fd4c398fe614fd058f1668@o412908.ingest.sentry.io/5296080',
21
+ // release: process.env.RELEASE_VERSION,
22
+ // environment: process.env.NODE_ENV,
23
+ // integrations: [new VueIntegration({ Vue, attachProps: true, logErrors: true })]
24
+ // })
25
+ // }
25
26
26
27
// console.log(process.env.VUE_APP_host)
27
28
// console.log(process.env.VUE_APP_pathname)
0 commit comments