3 Star 19 Fork 15

李春林 / uniapp车辆品牌选择

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 517 Bytes
一键复制 编辑 原始数据 按行查看 历史
nbnat 提交于 2020-06-28 23:07 . init
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
App.mpType = 'app'
import uView from "uview-ui";
Vue.use(uView);
const app = new Vue({
...App
})
// http拦截器,将此部分放在new Vue()和app.$mount()之间,才能App.vue中正常使用
import httpInterceptor from '@/common/http.interceptor.js'
Vue.use(httpInterceptor, app)
// http接口API抽离,免于写url或者一些固定的参数
import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)
app.$mount()
其他
1
https://gitee.com/nbnat/car-brand-list-index.git
git@gitee.com:nbnat/car-brand-list-index.git
nbnat
car-brand-list-index
uniapp车辆品牌选择
uView-V2.0.0

搜索帮助