`
xiebin
2022-09-30 06fcee5b6eca7c9a920ed2b367beb8ecbb76fd0f
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
27
28
29
30
31
import Vue from 'vue'
import App from './App'
import store from '@/store';
 
Vue.config.productionTip = false;
 
App.mpType = 'app';
 
// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);
 
// 引入vuex
const vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
 
// 创建对象
const app = new Vue({
    store,
    ...App
});
 
// 接口集中管理
import httpInstall from '@/http/install.js'
Vue.use(httpInstall, app)
 
// 公共函数
import globalFunc from '@/utils/func.js'
Vue.use(globalFunc, app);
 
app.$mount()