import App from './App'
|
import Vue from 'vue'
|
import store from '@/store/index.js'
|
import uView from '@/uni_modules/uview-ui'
|
import './uni.promisify.adaptor'
|
import CustomPopup from '@/components/customPopup.vue'
|
const jweixin = require('jweixin-module')
|
window.wx = {}
|
/*引入,注释可关闭*/
|
// import vconsole from "vconsole";
|
// Vue.prototype.vconsole = new vconsole();
|
Vue.config.productionTip = false
|
Vue.prototype.$store = store
|
Vue.prototype.$jweixin = jweixin
|
Vue.use(uView)
|
Vue.component('CustomPopup', CustomPopup)
|
|
App.mpType = 'app'
|
const app = new Vue({
|
...App
|
})
|
app.$mount()
|