1 Star 0 Fork 529

老鼠见到猫 / Shopro分销商城(前端+uni-app)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
ITmonkey 提交于 2020-11-27 16:49 . edit:全局图片地址
import Vue from 'vue'
import App from './App'
import store from '@/common/store'
import cuCustom from '@/static/colorui/components/cu-custom.vue'
import router from '@/common/router'
import tools from '@/common/utils/tools'
import '@/common/utils/sdk/sdk-h5.js'
import {
API_URL,
IMG_URL
} from './env.js'
//引入全局uView
import uView from 'uview-ui'
Vue.use(uView)
import shoproShare from '@/common/mixins/shopro-share'
Vue.mixin(shoproShare);
import {
RouterMount
} from 'uni-simple-router'
import api from '@/common/request/index'
Vue.prototype.$store = store;
Vue.prototype.$api = api;
Vue.prototype.$tools = tools;
Vue.prototype.$API_URL = API_URL;
Vue.prototype.$IMG_URL = IMG_URL;
Vue.component('cu-custom', cuCustom);
Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
store,
...App
});
// #ifdef H5
import wxsdk from '@/common/wechat/sdk'
Vue.prototype.$wxsdk = wxsdk;
RouterMount(app, '#app');
// #endif
// #ifndef H5
app.$mount();
// #endif
JavaScript
1
https://gitee.com/tigger-home/shopro.git
git@gitee.com:tigger-home/shopro.git
tigger-home
shopro
Shopro分销商城(前端+uni-app)
master

搜索帮助