当前位置:网站首页>uniapp 热更新后台管理
uniapp 热更新后台管理
2022-06-24 07:01:00 【diangedan】
1 创建 uni-admin 项目

2 右键点击 uniCloud-[阿里云:未关联云服务空间]


3 运行到 Chrome浏览器,创建管理员

使用 HBuilderX 导入插件到 uniCloud admin
找到
/uni_modules/uni-upgrade-center/uniCloud/cloudfunctions/upgrade-center,右键上传部署找到
/uni_modules/uni-upgrade-center/uniCloud/database/db_init.json,右键初始化数据库
3. 在pages.json中添加页面路径
//此结构与uniCloud admin中的pages.json结构一致
"pages": [
// 覆盖 unicloud admin的pages
{
"path": "uni_modules/uni-upgrade-center/pages/version/list",
"style": {
"navigationBarTitleText": "版本列表"
}
}, {
"path": "uni_modules/uni-upgrade-center/pages/version/add",
"style": {
"navigationBarTitleText": "新版发布"
}
}, {
"path": "uni_modules/uni-upgrade-center/pages/version/detail",
"style": {
"navigationBarTitleText": "版本信息查看"
}
}
] 4. 在manifest.json -> 源码视图中添加以下配置
"networkTimeout":{
"uploadFile":1200000 //ms, 如果不配置,上传大文件可能会超时
}运行项目到Chrome
边栏推荐
- 【无标题】
- 2021-03-09 comp9021 class 7 Notes
- longhorn安装与使用
- IIS build wordpress5.7 manually
- Qmenu response in pyqt
- Synthesize video through ffmpeg according to m3u8 file of video on the network
- 11--无重复字符的最长子串
- Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
- AUTO PWN
- [real estate opening online house selection, WiFi coverage temporary network] 500 people are connected to WiFi at the same time
猜你喜欢

根据网络上的视频的m3u8文件通过ffmpeg进行合成视频

PAT 1157:校庆

问题4 — DatePicker日期选择器,2个日期选择器(开始、结束日期)的禁用

问题3 — messageBox弹框,修改默认背景色

ZUCC_ Principles of compiling language and compilation_ Experiment 04 language and grammar

ZUCC_ Principles of compiling language and compilation_ Experiment 08 parsing LR parsing

Longhorn installation and use
![[untitled]](/img/94/792e8363dbfe67770e93b0dcdc8e72.png)
[untitled]

MAYA重新拓布

WCF TCP protocol transmission
随机推荐
After interviewing and tutoring several children, I found some problems!
pyQt 中 QMenu 响应
独立站运营中如何提升客户留存率?客户细分很重要!
Synthesize video through ffmpeg according to m3u8 file of video on the network
Building a static website with eleventy
Qmenu response in pyqt
os. path. Pits encountered during the use of join()
【无标题】
RCNN、Fast-RCNN、Faster-RCNN介绍
常用日期格式符与Qt获取当前时间的办法
2022 mobile crane driver special operation certificate examination question bank and online simulation examination
论文笔记: 多标签学习 DM2L
[acnoi2022] not a structure, more like a structure
etcd备份恢复原理详解及踩坑实录
ZUCC_ Principles of compiling language and compilation_ Big job
问题3 — messageBox弹框,修改默认背景色
Review SGI STL secondary space configurator (internal storage pool) | notes for personal use
11-- longest substring without repeated characters
MAYA重新拓布
05 Ubuntu installing mysql8