1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| import Vue from 'vue'
| import App from './App'
|
| // 引入全局uView
| import uView from '@/uni_modules/uview-ui'
|
| // vuex
| import store from './store'
|
| Vue.config.productionTip = false
| Vue.prototype.$store = store
|
|
|
| App.mpType = 'app'
| Vue.use(uView)
|
| const app = new Vue({
| store,
| ...App
| })
|
| // 引入请求封装
| require('./utils/request/index')(app)
|
| app.$mount()
|
|