import App from './App'
|
import Vue from 'vue'
|
import uView from '@/uni_modules/uview-ui';
|
import '@/api/constant.js';
|
|
uni.$u.config.unit = 'rpx'
|
Vue.use(uView)
|
|
|
// 请求相关
|
import { reqAll, reqGet, reqPost } from './utils/index.js';
|
Vue.prototype.$reqAll = reqAll;
|
Vue.prototype.$reqGet = reqGet;
|
Vue.prototype.$reqPost = reqPost;
|
|
|
|
Vue.config.productionTip = false
|
|
|
App.mpType = 'app'
|
const app = new Vue({
|
...App
|
})
|
app.$mount()
|