mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 11:11:55 +08:00
25 lines
362 B
JavaScript
25 lines
362 B
JavaScript
import Vue from 'vue'
|
|
import App from './App'
|
|
|
|
// vuex
|
|
import store from './store'
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.prototype.$store = store
|
|
|
|
// 引入全局uView
|
|
import uView from '@/uni_modules/uview-ui'
|
|
|
|
App.mpType = 'app'
|
|
Vue.use(uView)
|
|
|
|
const app = new Vue({
|
|
store,
|
|
...App
|
|
})
|
|
|
|
// 引入请求封装
|
|
require('./util/request/index')(app)
|
|
|
|
app.$mount()
|