ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import App from './App'
import Vue from 'vue'
import uView from '@/uni_modules/uview-ui'
import createStore from './service/store'
import config from './config/index.js'
import defineApi from './service/request'
 
const store = createStore(Vue);
const $api = new defineApi(store,config)
 
Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(uView)
 
Vue.prototype.$config = config;
Vue.prototype.$api = $api;
 
const app = new Vue({
    ...App,
    store: store
})
app.$mount()