UniApp Tutorial

UniApp is a front-end framework that uses Vue.js to develop cross-platform applications, developed and maintained by DCloud.
UniApp's core goal is "develop once, publish to multiple platforms," greatly improving development efficiency and reducing the workload of multi-platform adaptation.
The emergence of UniApp has greatly improved development efficiency and reduced 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 Learning This Tutorial
Learning UniApp requires basic knowledge of HTML, CSS, JavaScript, and Vue.js. If you already master these, learning UniApp will be very easy!
If you haven't fully mastered them, don't worry. You can first familiarize yourself with them in the following tutorials:
UniApp code writing uses basic languages including js, vue, css, as well as CSS preprocessors such as ts and scss.
UniApp's core advantage lies in its cross-platform capability. Traditional development requires writing different code for each platform, while UniApp adapts to multiple platforms with one set of code, reducing repetitive work.
UniApp Applications
UniApp is a cross-platform development framework based on Vue.js, developed and maintained by DCloud. It allows developers to use one set of code and publish to multiple platforms simultaneously, including:
WeChat Mini Program
H5 Web Pages
Android and iOS Apps
Alipay Mini Program
Baidu Mini Program
ByteDance Mini Program
Quick App
QQ Mini Program
360 Mini Program
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 Program, H5, App | Mini Program, 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 Websitehttps://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