UniApp Tutorial

UniApp is a front-end framework for developing cross-platform applications with Vue.js, developed and maintained by DCloud.
The core goal of UniApp is "develop once, publish everywhere", which greatly improves development efficiency and reduces the work of multi-platform adaptation.
The emergence of UniApp has greatly improved development efficiency and lowered the cost of multi-platform development.
UniApp uses the Apache License 2.0 open source license, allowing developers to freely use, modify and distribute the code
What you need to know before studying this tutorial
To learn UniApp you need basic knowledge of HTML, CSS, JavaScript and Vue.js; if you already have it, learning UniApp will be very easy!
If you have not fully mastered them yet, do not worry; you can get familiar with them in the following tutorials first:
UniApp code is written mainly in js, vue and css, plus CSS preprocessors such as ts and scss.
The core advantage of UniApp is its cross-platform capability: the traditional approach requires writing different code for each platform, whereas UniApp adapts one codebase to many platforms and reduces duplicated work.
UniApp applications
UniApp is a cross-platform development framework based on Vue.js, developed and maintained by DCloud. It lets developers use one codebase and publish to multiple platforms at the same time, including:
-
WeChat mini programs
-
H5 web pages
-
Android and iOS apps
-
Alipay mini programs
-
Baidu mini programs
-
ByteDance mini programs
-
Quick apps
-
QQ mini programs
-
360 mini programs
-
and many other platforms.
Comparison of UniApp with other frameworks
| Feature | UniApp | Taro | Flutter | React Native |
|---|---|---|---|---|
| Development language | Vue.js | React | Dart | JavaScript/TypeScript |
| Cross-platform support | Mini programs, H5, App | Mini programs, H5, App | Android, iOS, Web | Android, iOS |
| Performance | Close to native | Medium | High performance | Medium |
| Learning Cost | Low (Vue.js syntax) | Medium (React syntax) | High (Dart language) | Medium (React syntax) |
| Ecosystem and community | Rich | Rich | Rapidly growing | Very rich |
Related links
- UniApp official site https://zh.uniapp.dcloud.io/
- UniApp manual:https://zh.uniapp.dcloud.io/tutorial/
- GitHub open source address:https://github.com/dcloudio/uni-app
- Development tool HBuilder X:https://www.dcloud.io/hbuilderx.html