FlowPacs/yudao-ui-app/main.js

25 lines
362 B
JavaScript
Raw Normal View History

import Vue from 'vue'
2022-04-06 16:08:26 +08:00
import App from './App'
// vuex
import store from './store'
2022-04-06 16:08:26 +08:00
Vue.config.productionTip = false
Vue.prototype.$store = store
2022-04-06 16:08:26 +08:00
// 引入全局uView
2022-04-06 16:08:26 +08:00
import uView from '@/uni_modules/uview-ui'
App.mpType = 'app'
Vue.use(uView)
2022-04-06 16:08:26 +08:00
const app = new Vue({
store,
...App
2022-04-06 16:08:26 +08:00
})
// 引入请求封装
require('./util/request/index')(app)
app.$mount()