当前位置:网站首页>Background management of uniapp hot update
Background management of uniapp hot update
2022-06-24 08:42:00 【diangedan】
1 establish uni-admin project

2 Right click on the uniCloud-[ Alibaba cloud : Cloud service space is not associated ]


3 Run to the Chrome browser , Create administrator

Use HBuilderX Import plug-ins to uniCloud admin
find
/uni_modules/uni-upgrade-center/uniCloud/cloudfunctions/upgrade-center, Right click to upload deploymentfind
/uni_modules/uni-upgrade-center/uniCloud/database/db_init.json, Right click to initialize the database
3. stay pages.json Add page path to
// This structure is similar to uniCloud admin Medium pages.json The structure is consistent
"pages": [
// Cover unicloud admin Of pages
{
"path": "uni_modules/uni-upgrade-center/pages/version/list",
"style": {
"navigationBarTitleText": " Version list "
}
}, {
"path": "uni_modules/uni-upgrade-center/pages/version/add",
"style": {
"navigationBarTitleText": " New release "
}
}, {
"path": "uni_modules/uni-upgrade-center/pages/version/detail",
"style": {
"navigationBarTitleText": " View version information "
}
}
] 4. stay manifest.json -> Source view Add the following configuration
"networkTimeout":{
"uploadFile":1200000 //ms, If you don't configure , Uploading large files may time out
}Run the project to Chrome
边栏推荐
- Rescue system -- the application of read-write separation
- 05 Ubuntu installing mysql8
- How to mount a USB hard disk with NTFS file format under RHEL5 system
- ZUCC_ Principles of compiling language and compilation_ Experiment 01 language analysis and introduction
- 获取屏幕宽高工具类
- Opencv get (propid) common values
- 小黑ai4code代码baseline啃食1
- One development skill a day: how to establish P2P communication based on webrtc?
- os. path. Pits encountered during the use of join()
- [life thinking] planning and self-discipline
猜你喜欢
随机推荐
How to replace the web player easyplayerproactivex Key in OCX?
api平台通用签名机制
[untitled]
[xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
Export MySQL database to xxx SQL, set xxx The SQL file is imported into MySQL on the server. Project deployment.
rsync做文件备份
After interviewing and tutoring several children, I found some problems!
利用sonar做代码检查
【微服务~Nacos】Nacos服务提供者和服务消费者
[micro services ~nacos] Nacos service providers and service consumers
os. path. Pits encountered during the use of join()
Markdown to realize text link jump
Qt导出PDF文件的两种方法
[acnoi2022] I have done it, but I can't
Opencv get (propid) common values
Fund raising, trading and registration
JS merge multiple objects and remove duplicates
Blue screen error UNMOUNTABLE boot volume of the solution
ZUCC_编译语言原理与编译_实验08 语法分析 LR 分析
2021-06-25: a batch of strings consisting only of lowercase letters (a~z) are put









