当前位置:网站首页>uniapp小程序框架-一套代码,多段覆盖
uniapp小程序框架-一套代码,多段覆盖
2022-07-26 04:57:00 【知识浅谈】
鉴于不同的平台有着自己的小程序编方式,导致了码农学习成本的增加,uniapp,一套代码,编译多端可用小程序,极大的减少学习的成本。
开源地址: https://github.com/dcloudio/uni-app
uniapp使用方法
uniapp专用dev平台-HbuilderX
- 开始之前,开发者需先下载安装如下工具:HBuilderX
HBuilderX是通用的前端开发工具,但为uni-app做了特别强化。 - 下载App开发版,可开箱即用;如下载标准版,在运行或发行uni-app时,会提示安装uni-app插件,插件下载完成后方可使用。
强烈推荐标准版本,不用自己下载插件,易上手
uniapp框架创建
- 工具栏里的文件 -> 新建 -> 项目:

选择uni-app类型,输入工程名,选择模板,点击创建,即可成功创建。
然后就可愉快的编写代码了。
uniapp小程序运行&发行
可以选择运行到浏览器,小程序模拟器,手机模拟器进行测试。
之后可以选者不同的平台发行即可。
总结
uni-app在手,小程序都不愁。
附上使用文档地址:https://uniapp.dcloud.io/quickstart-hx
边栏推荐
- idea插件离线安装(持续更新)
- Database startup message: ora-29702: error occurred in cluster group service
- Yapi installation
- Fill in the vacancy, and fill in later
- Have you known several distribution methods of NFT? What are the advantages and disadvantages of different distribution methods?
- [wp][gwctf 2019] boring lottery
- data warehouse
- 有ggjj看看这个问题没,是否缓存导致跨域问题?
- Autocomplete prevents the form from automatically filling in
- Use field parameters for report translation
猜你喜欢

data warehouse

数组排序1

2022河南萌新联赛第(三)场:河南大学 L - 合成游戏

idea插件离线安装(持续更新)

C language - pointer one touch ※

UE4 switching of control rights of multiple roles

汉字风格迁移篇---通过生成对抗网络学习一对多程式化汉字的转换和生成

Customer service relationship management based on SQL net enterprise messenger enterprise communications

Codeforces Round #807 (Div. 2)

一个sql server查询截止某个日期最新的记录
随机推荐
Yapi installation
Bsdiff and bspatch incremental updates
New knowledge in big homework
[enterprise micro procedure]
SQL encryption and decryption injection details
三、@RequestMapping注解
A series of problems about the number of DP paths
There was an unexpected error (type=method not allowed, status=405)
2022 Henan Mengxin League game (3): Henan University J - magic number
What points should be paid attention to in the selection of project management system?
「游戏引擎 浅入浅出」4. 着色器
vector详解和迭代器失效问题
汉字风格迁移篇---通过生成对抗网络学习一对多程式化汉字的转换和生成
Recognized again | saining network security has been listed in the ccsip 2022 panorama of China's network security industry
Phaser (I): platform jumping collection game
嵌入式实操----基于RT1170 FreeRTOS实现CPU使用率统计(二十四)
2022 Henan Mengxin League game (3): Henan University B - reverse pair count
clock_ gettime
User defined type details
can 串口 can 232 can 485 串口转CANbus总线网关模块CAN232/485MB转换器CANCOM