1234567891011121314151617181920212223 |
- import Vue from 'vue'
- import App from './App'
- Vue.config.productionTip = false
- App.mpType = 'app'
- // 引入全局uView
- import uView from 'uview-ui'
- Vue.use(uView);
- const app = new Vue({
- ...App
- })
- //拦截器
- import httpInterceptor from '@/common/http.interceptor.js'
- Vue.use(httpInterceptor, app)
- //API集中管理
- import httpApi from '@/common/http.api.js'
- Vue.use(httpApi, app)
- app.$mount()
|