You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
574 B
29 lines
574 B
import Vue from 'vue' |
|
import App from './App' |
|
import store from "@/store/index.js" |
|
|
|
Vue.config.productionTip = false |
|
|
|
import uView from '@/uni_modules/uview-ui' |
|
Vue.use(uView) |
|
|
|
// 引入uView提供的对vuex的简写法文件 |
|
let vuexStore = require('@/store/$u.mixin.js'); |
|
Vue.mixin(vuexStore); |
|
|
|
App.mpType = 'app' |
|
|
|
const app = new Vue({ |
|
...App, |
|
store |
|
}) |
|
|
|
import request from '@/utils/request.js'; |
|
Vue.use(request, app); |
|
|
|
// http接口API集中管理引入部分 |
|
import httpApi from '@/api/api.js' |
|
Vue.use(httpApi, app) |
|
// require('@/utils/request.js')(app) |
|
|
|
app.$mount() |