1 Star 0 Fork 30

ck / 社交论坛(Uni-app+uView)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 595 Bytes
一键复制 编辑 原始数据 按行查看 历史
MrThinco 提交于 2022-10-05 09:54 . feat: 监听网络状态和热更新
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
// uViewUI
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// 引入配置文件
import $config from "@/utils/lib/config.js"
Vue.prototype.$config = $config
// 引入助手函数
import $tool from '@/utils/lib/tool.js'
Vue.prototype.$tool = $tool
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ckmm/share-bbs.git
git@gitee.com:ckmm/share-bbs.git
ckmm
share-bbs
社交论坛(Uni-app+uView)
master

搜索帮助

Bbcd6f05 5694891 0cc6727d 5694891