talira

Write a Vue.js app once and publish it to iOS, Android, HarmonyOS, web and mini-programs

open sourceApache-2.0free

uni-app is a Vue.js framework from DCloud: one codebase publishes to iOS, Android, HarmonyOS, the web, Quick Apps and mini-programs for WeChat, Alipay, Baidu, Douyin, Feishu, QQ, Kuaishou, DingTalk, Taobao, JD and Xiaohongshu. It comes in two editions. uni-app renders apps in a WebView, the same architecture as mini-programs. uni-app x, the main branch, uses UTS, a TypeScript-like language that compiles to Kotlin, Swift, ArkTS or JavaScript, with a native rendering engine.

Problems it solves

  • ship a WeChat mini-program and a mobile app from the same Vue code
  • build one app for iOS, Android and HarmonyOS without learning each native stack
  • publish to several Chinese mini-program platforms at once

Features

  • one Vue.js codebase for iOS, Android, HarmonyOS, web and mini-programs
  • mini-programs for WeChat, Alipay, Baidu, Douyin, Feishu, QQ, Kuaishou, DingTalk, Taobao, JD and Xiaohongshu
  • uni-app x: native rendering and UTS, compiled to Kotlin, Swift, ArkTS or JavaScript
  • Quick Apps and HarmonyOS Atomic Services

Limitations

  • Quick Apps run only on vivo, OPPO and Huawei.1
  • The classic uni-app edition (Vue 2 and Vue 3) lives on separate branches from uni-app x.1

Alternatives

The same job

These do what uni-app does.

  1. Taro Cross-platform framework for building mini-programs, H5 and React Native apps from one React or Vue codebase
  2. React Native Learn once, write anywhere
  3. NativeScript Write native apps with TypeScript, with direct access to native platform APIs
  4. Expo An open source framework for universal native apps with React, plus cloud services to build, ship and monitor them
  5. Lynx Use web skills to build native UIs for mobile and web from one codebase

Compare uni-app with the top 3