You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
725 B
29 lines
725 B
import App from './App'
|
|
import store from './store'
|
|
import Vue from 'vue'
|
|
import { Monitor } from '@/utils/monitor/index'
|
|
import { XAPPID } from '@/enums/index.js'
|
|
import env from '@/env/index.js'
|
|
import vueWxRouter from '@/utils/vueWxRouter'
|
|
|
|
const urlEnv = env === 'production' ? '' : `-${env}`
|
|
// # ifdef MP-WEIXIN
|
|
// const monitor = new Monitor({
|
|
// url: `https://api-client-yyt${urlEnv}.qniao.cn/wukong-fast-print/vue/error/message`,
|
|
// timeout: 5000,
|
|
// method: 'POST',
|
|
// env,
|
|
// header: { 'X-APP-ID': XAPPID }
|
|
// })
|
|
// monitor.init()
|
|
// # endif
|
|
|
|
Vue.config.productionTip = false
|
|
// Vue.prototype.$store = store
|
|
App.mpType = 'app'
|
|
Vue.use(vueWxRouter)
|
|
const app = new Vue({
|
|
...App,
|
|
store
|
|
})
|
|
app.$mount()
|