1 Star 0 Fork 533

释放想象力 / Shopro开源商城(前端+uni-app)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 930 Bytes
一键复制 编辑 原始数据 按行查看 历史
ITmonkey 提交于 2020-06-03 18:57 . add:小程序分包;组件easycom
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
} from './env.js'
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.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/hejinghui/shopro.git
git@gitee.com:hejinghui/shopro.git
hejinghui
shopro
Shopro开源商城(前端+uni-app)
master

搜索帮助