1 Star 2 Fork 2

wkdai/vue- uni-h5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 763 Bytes
一键复制 编辑 原始数据 按行查看 历史
wkdai 提交于 2021-06-30 10:26 +08:00 . fix(代码迁移) 1、H5代码迁移
import Vue from 'vue';
import App from './App';
import cuCustom from './colorui/components/cu-custom.vue';
Vue.component('cu-custom', cuCustom);
import TnCustom from './components/TnCustom/TnCustom.vue';
Vue.component('tn-custom', TnCustom);
import wsLoadMore from './components/wsure-load-more/load-more.vue';
Vue.component('wsLoadMore', wsLoadMore);
import http from '@/common/request.js';
// 引入:uView-UI
import uView from 'uview-ui';
Vue.use(uView);
Vue.prototype.$http = http.httpRequest;
Vue.prototype.$httpSinupRequest = http.httpSinupRequest;
Vue.prototype.IMAGE_URL = http.IMAGE_URL;
Vue.prototype.COMPANY_IMAGE_URL = http.COMPANY_IMAGE_URL;
Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
...App,
});
app.$mount();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dwiweike/vue--uni-h5.git
git@gitee.com:dwiweike/vue--uni-h5.git
dwiweike
vue--uni-h5
vue- uni-h5
master

搜索帮助