1 Star 0 Fork 241

多哥喵/Snowy-Mobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 479 Bytes
一键复制 编辑 原始数据 按行查看 历史
每天一点 提交于 2023-09-22 23:39 +08:00 . 【优化】解决小程序热更新问题
import App from './App'
import './interceptor'
import { createSSRApp } from 'vue'
import store from './store'
import uvUI from '@/uni_modules/uv-ui-tools'
import XEUtils from '@/plugins/xe-utils'
import snowy from '@/plugins/snowy'
export function createApp() {
const app = createSSRApp(App)
app.use(store)
app.use(uvUI)
app.config.globalProperties.$snowy = snowy
app.config.globalProperties.$xeu = XEUtils
uni.$snowy = snowy
uni.$xeu = XEUtils
return {
app
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lazza/snowy-mobile.git
git@gitee.com:lazza/snowy-mobile.git
lazza
snowy-mobile
Snowy-Mobile
master

搜索帮助