FlowPacs/yudao-ui-app/main.js

27 lines
365 B
JavaScript
Raw Normal View History

import Vue from 'vue'
2022-04-06 16:08:26 +08:00
import App from './App'
// 引入全局uView
import uView from '@/uni_modules/uview-ui'
// 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
2022-04-06 16:08:26 +08:00
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('./utils/request/index')(app)
app.$mount()