1 Star 0 Fork 1K

1314 / 萤火商城V2.0-uniapp端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 777 Bytes
一键复制 编辑 原始数据 按行查看 历史
import Vue from 'vue'
import uView from 'uview-ui'
import App from './App'
import store from './store'
import platform from './core/platform'
import bootstrap from './core/bootstrap'
import {
navTo,
showToast,
showSuccess,
showError,
getShareUrlParams
} from './core/app'
import './js_sdk/ican-H5Api/ican-H5Api'
Vue.config.productionTip = false
App.mpType = 'app'
// 当前运行的终端
Vue.prototype.$platform = platform
// 载入uView库
Vue.use(uView)
// 挂载全局函数
Vue.prototype.$toast = showToast
Vue.prototype.$success = showSuccess
Vue.prototype.$error = showError
Vue.prototype.$navTo = navTo
Vue.prototype.$getShareUrlParams = getShareUrlParams
// 实例化应用
const app = new Vue({
...App,
store,
created: bootstrap
})
app.$mount()
1
https://gitee.com/wangh520/yoshop2.0-uniapp.git
git@gitee.com:wangh520/yoshop2.0-uniapp.git
wangh520
yoshop2.0-uniapp
萤火商城V2.0-uniapp端
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891