Draft:Uni-app


uni-app is an open-source cross-platform front-end application development framework developed and maintained by DCloud in 2018. The framework is based on Vue.js, allowing developers to build mobile applications targeting iOS, Android, HarmonyOS Next, Web, Quick App [zh], and various mini-programs (including those of WeChat [zh], Alipay, Baidu, Toutiao, Lark, QQ, Kuaishou, DingTalk, Taobao, 360 Safeguard, JD, Xiaohongshu) with a single codebase.[1][2][3][4]

Features

[edit]

uni-app adopts a development paradigm based on Vue.js, and page files follow the Vue single-file component specification.[5] The official integrated development environment is HBuilderX, but standard vue-cli can also be used.[6]

Uni-app allows conditional compilation using #ifdef and #ifndef.[7]

Ecosystem

[edit]

uni-app supports various component libraries, such as Vant, Mint UI, and uView.[8]

Reception

[edit]

According to research, uni-app has attracted millions of developers[9], with hundreds of thousands of applications and 650 million monthly active mobile users.[3]

Positive

[edit]

The main advantages of uni-app are its cross-platform capabilities and ecosystem, which reduces compatibility issues between different platforms[8], improves development efficiency[2], and reduces the cost, difficulty[8], and complexity[1] of cross-platform development, making it suitable for individuals and small businesses.[8]

Negative

[edit]

However, the framework also has some limitations, including performance loss compared to native apps. Also, the performance of the same code vary by platforms. It is slower on Android and in browsers compared to WeChat miniprograms and on iOS.[7]

References

[edit]
  1. ^ a b 任远; 丁玲; 戚伟 (2023). Uni-APP移动应用开发技术分析 [Analysis of Uni-APP Mobile Application Development Technology]. 电子技术与软件工程 (3): 41–44. ISSN 2095-5650.
  2. ^ a b 彭婕 (2024). 应用uni-app框架的综合服务APP的研究与设计 [Research and design of comprehensive service apps based on uni-app framework]. 信息与电脑(理论版). 36 (9): 143–145. ISSN 1003-9767.
  3. ^ a b Zhang, Qi; Yang, Shulin; Ren, Ruoyu (2020-06-26). "Research on Uni-app Based Cross-platform Digital Textbook System". Proceedings of the 2020 3rd International Conference on Computer Science and Software Engineering. CSSE '20. New York, NY, USA: Association for Computing Machinery. pp. 52–57. doi:10.1145/3403746.3403904. ISBN 978-1-4503-7552-8.
  4. ^ Zhang Wei; 廖若飞 (2024). "基于uni-App的小程序开发技术路线及系统研究". 无线互联科技 (in Chinese). 21 (22): 41–44. ISSN 1672-6944. Wikidata Q136301808.
  5. ^ 李昂 (2021). 基于跨平台移动开发框架的环境评估咨询App设计 [Design of Environmental Assessment and Consultation App Based on Cross Platform Mobile Development Framework]. 电脑知识与技术. 17 (24): 75–77. doi:10.14004/j.cnki.ckt.2021.2288. ISSN 1009-3044.
  6. ^ 吴建成; 杨亚 (2024). "Uni-app框架下基于Token的身份认证及持久化登录设计与实现". 数字技术与应用. 42 (3): 123–125. ISSN 1007-9416.
  7. ^ a b 柳秋寒 (2025). "面向多平台的移动应用开发框架研究与实现". 信息记录材料. 26 (8): 46–48, 52. doi:10.16009/j.cnki.cn13-1295/tq.2025.08.013. ISSN 1009-5624. Retrieved 2025-09-13.
  8. ^ a b c d 龚平 (2024). "基于uni-app和深度学习的智慧监理系统研究". 建设监理 (11): 9–14. doi:10.15968/j.cnki.jsjl.2024.11.020. ISSN 1007-4104.
  9. ^ 许溜溜 (2020). "基于HBuilder快速开发移动端APP的设计与实现". 电脑知识与技术. 16 (10): 74–75. doi:10.14004/j.cnki.ckt.2020.1135. ISSN 1009-3044.