当前位置:网站首页>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
边栏推荐
- 9、 File upload and download
- Offline installation of idea plug-in (continuous update)
- 补位,稍后补上
- vector详解和迭代器失效问题
- What are the characteristics of the grammar of Russian documents in the translation of scientific papers
- To study the trend of open source and gain insight into the future of the industry, stonedb community and the China Academy of communications and communications released the Research Report on the dev
- autocomplete禁止表单自动填充
- Character function and string function (I)
- The importance of supporting horizontal expansion of time series database
- Stm32fsmc extended SRAM
猜你喜欢

Switch and router technology: dynamic routing protocol, rip routing protocol and OSPF routing protocol

Two ways to create MySQL database

IEC61131 数据类型与 C#数据类型的对应

计算离散点的曲率(matlab)

数据库启动报:ORA-29702: error occurred in Cluster Group Service

ES6 modularization +commonjs

图像非局部均值滤波的原理

数组排序3

Array sort 1

minipcie接口CAN卡解决工控机扩展CAN通道的难题 minipcie CAN
随机推荐
9、 File upload and download
AXI协议(4):AXI通道上的信号
Vector explanation and iterator failure
Briefly describe the application fields of WMS warehouse management system
汉字风格迁移篇---通过生成对抗网络学习一对多程式化汉字的转换和生成
Weights & biases (II)
C语言——字符串函数,内存函数集锦以及模拟实现
What points should be paid attention to in the selection of project management system?
The first open source MySQL native HTAP database in China will be released soon! Look at the three highlights first, limited to the surrounding areas, waiting for you~
Phaser (I): platform jumping collection game
Wsl2 best practices, eliminate difficult xshell and finalshell
分子骨架跃迁工具-DeLinker介绍
Two ways to create MySQL database
2022 Henan Mengxin League game (3): Henan University L - synthetic game
Bsdiff and bspatch incremental updates
3、 @requestmapping annotation
STM32 development | ad7606 parallel multi-channel data acquisition
五、域对象共享数据
科技论文翻译,俄语文档的语法有何特点
11、 Exception handler