1 Star 0 Fork 37

yafengzi/muu_classroom_uniapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
火木科技 提交于 2022-01-06 18:23 . 新增H5端DIY组件图片懒加载
import Vue from 'vue'
import App from './App'
import store from './store'
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$onLaunched = new Promise(resolve => {
Vue.prototype.$isResolve = resolve
})
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload)
//引入微擎配置
import util from './static/js/util.js'
Vue.prototype.util = util
// #ifdef H5
//引入微信公众号
import wechat from './static/js/wechat.js'
Vue.prototype.wechat = wechat
// #endif
// 注册全局组件
import Top from "./muu_classroom/pages/common/top.vue"
Vue.component('Top', Top)
import Login from "./muu_classroom/pages/common/login.vue"
Vue.component('Login', Login)
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
Vue.component('mescroll-body', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
/***********************************************
function(e,t){var siteinfo=require('../siteinfo.js');var n={uniacid: siteinfo.uniacid,acid: siteinfo.acid,multiid: siteinfo.multiid,version: siteinfo.version,siteroot: siteinfo.siteroot};e.exports=n},
*/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/greentree/muu_classroom_uniapp.git
git@gitee.com:greentree/muu_classroom_uniapp.git
greentree
muu_classroom_uniapp
muu_classroom_uniapp
master

搜索帮助