explaingit

dcloudio/uni-app

Analysis updated 2026-06-20

41,512Objective-CAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

Uni-app lets you write one Vue.js codebase and publish it as an iOS app, Android app, website, and WeChat or TikTok mini-program all at once, without maintaining separate projects for each platform.

Mindmap

mindmap
  root((uni-app))
    What it does
      Single codebase
      Multi-platform deploy
      Mini-program support
    Platforms
      iOS and Android
      WeChat Mini Program
      Web browser
      Douyin and Alipay
    Tech stack
      Vue.js
      UTS TypeScript-like
      HBuilderX IDE
    Audience
      Mobile developers
      China market apps
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a shopping app once in Vue.js and release it simultaneously on iOS, Android, and WeChat Mini Program without rewriting code.

USE CASE 2

Reach users inside Chinese super-apps like WeChat, Alipay, and Douyin from a single shared frontend codebase.

USE CASE 3

Ship a mobile app to Huawei's HarmonyOS alongside iOS and Android by writing one codebase in uni-app x with UTS.

USE CASE 4

Convert an existing Vue.js web app into a WeChat Mini Program without starting from scratch.

What is it built with?

Vue.jsTypeScriptJavaScriptSwiftKotlinHBuilderX

How does it compare?

dcloudio/uni-appafnetworking/afnetworkingsdwebimage/sdwebimage
Stars41,51233,45925,650
LanguageObjective-CObjective-CObjective-C
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Publishing to WeChat Mini Program requires a WeChat developer account and the WeChat DevTools installed separately.

Use freely for any purpose including commercial apps (Apache 2.0 license).

In plain English

Uni-app is a cross-platform frontend development framework from DCloud, a Chinese company. It lets developers write a single codebase using Vue.js and deploy the result to iOS, Android, the web (as a responsive site), and a wide range of Chinese mini-program platforms simultaneously, including WeChat Mini Programs, Alipay Mini Programs, Baidu, ByteDance (Douyin/TikTok), Feishu (Lark), QQ, Kuaishou, and others. The problem it solves is fragmentation. In the Chinese mobile ecosystem, "mini programs", lightweight apps that run inside super-apps like WeChat rather than as standalone downloads, are enormously popular. Each platform has its own SDK and slightly different development rules. Without a tool like uni-app, a developer who wants to reach users on both WeChat and Douyin has to maintain two entirely separate codebases. Uni-app provides a single abstraction layer on top. Here is how it works: developers write Vue.js components using a custom set of base components and APIs that uni-app defines. When building for a target platform, uni-app compiles the code appropriately, generating native iOS (Swift) or Android (Kotlin) code, JavaScript for web, or the specific format each mini-program platform expects. A newer variant called uni-app x uses a TypeScript-like language called UTS that compiles directly to Kotlin on Android, Swift on iOS, ArkTS on Harmony (Huawei's OS), and JavaScript for web and mini-programs, aiming for closer-to-native performance rather than a WebView-based approach. You would use uni-app if you are building a consumer-facing application that needs to reach users both as a native mobile app and within major Chinese super-app ecosystems from a single shared codebase. The stack is Vue.js for application logic, with a custom compiler and the HBuilderX IDE developed by DCloud as the recommended development environment.

Copy-paste prompts

Prompt 1
Create a uni-app project with a home page and a detail page that works on both WeChat Mini Program and the mobile web. Show me the file structure and routing setup.
Prompt 2
How do I call a REST API in uni-app and display the results in a list that works on both iOS and WeChat Mini Program?
Prompt 3
Help me configure uni-app to build and deploy to WeChat Mini Program. What do I need in the manifest.json and what account do I need?
Prompt 4
Show me how to use uni-app's built-in components to build a product card that looks correct on iOS, Android, and WeChat Mini Program.
Prompt 5
I have a Vue.js web app. Walk me through converting it to uni-app so I can also publish it as a WeChat Mini Program.

Frequently asked questions

What is uni-app?

Uni-app lets you write one Vue.js codebase and publish it as an iOS app, Android app, website, and WeChat or TikTok mini-program all at once, without maintaining separate projects for each platform.

What language is uni-app written in?

Mainly Objective-C. The stack also includes Vue.js, TypeScript, JavaScript.

What license does uni-app use?

Use freely for any purpose including commercial apps (Apache 2.0 license).

How hard is uni-app to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is uni-app for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub dcloudio on gitmyhub

Verify against the repo before relying on details.