what is uni app
uni-app is a framework for developing all front-end applications using Vue.js. It is a mobile component library maintained by Zan's front-end team and provides a complete set of UI basic components and business components. Using uni-app, you can implement a set of codes and publish them to multiple platforms such as iOS, Android, and WeChat mini programs at the same time.
The operating environment of this tutorial: windows7 system, uni-app version 2.5.1, DELL G3 computer.
uni-app (uni, pronounced you ni, means unity) is a framework that uses Vue.js to develop all front-end applications. Developers write a set of codes that can be published to iOS, Android, Web ( Responsive), as well as various small programs, quick applications and other platforms to ensure that they run correctly and achieve an excellent experience.
uni-app implements a set of codes that can be run on multiple platforms at the same time. A set of codes can be run on iOS simulators, Android simulators, H5, WeChat developer tools, Alipay mini program Studio, and Baidu development. Developer Tools, Bytedance Developer Tools, QQ Developer Tools (the 8 terminal tabs at the bottom represent 8 terminal emulators.
uni-app inherits from Vue. js, providing a complete Vue.js development experience.
uni-app component specifications and extension api are basically the same as WeChat applet.
Have some experience in Vue.js and WeChat applet development Developers can quickly get started with uni-app and develop applications that are compatible with multiple terminals.
uni-app provides conditional compilation optimization, which can elegantly write personalized code for a certain platform and call proprietary capabilities without affecting Other platforms.
uni-app still uses the 5 engine when packaged into the App. All capabilities of 5 can be used in uni-app. The running performance on the App side is basically the same as the WeChat applet.
For technicians: There is no need to learn so many platform development technologies and research so many front-end frameworks. It is enough to learn uni-app based on vue.
For companies: lower cost, wider coverage For multiple users, uni-app is an efficient tool.
uni-app multi-terminal demonstration
To facilitate developers to experience the components, interfaces, and templates of uni-app, DCloud has released the Hello uni-app demonstration program (code Already open source (see Github for details), Hello uni-app implements a set of codes and publishes them to iOS, Android, and WeChat mini programs at the same time.
Running environment
Run For the uni-app item, you need to install the HBuilderX front-end development tool.
Browser operation: Enter the uniapp project, click Run on the toolbar - Run to the browser - Select the browser to experience uni- in the browser H5 version of the app.
Real machine running: Connect the mobile phone, turn on USB debugging, enter the uniapp project, click Run on the toolbar - Real machine running - Select the running device to experience uni- app.
Run in WeChat Developer Tools: Enter the uniapp project, click Run on the toolbar - Run to Mini Program Simulator - WeChat Developer Tools, and you can experience uni-app in WeChat Developer Tools .
Recommended: "uni-app tutorial"
The above is the detailed content of what is uni app. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The article details how to integrate social sharing into uni-app projects using uni.share API, covering setup, configuration, and testing across platforms like WeChat and Weibo.

Article discusses using Sass and Less preprocessors in uni-app, detailing setup, benefits, and dual usage. Main focus is on configuration and advantages.[159 characters]

The article explains how to use uni-app's animation API, detailing steps to create and apply animations, key functions, and methods to combine and control animation timing.Character count: 159

The article discusses various testing types for UniApp applications, including unit, integration, functional, UI/UX, performance, cross-platform, and security testing. It also covers ensuring cross-platform compatibility and recommends tools like Jes

The article discusses strategies to reduce UniApp package size, focusing on code optimization, resource management, and techniques like code splitting and lazy loading.

The article explains how to use uni-app's storage APIs (uni.setStorage, uni.getStorage) for local data management, discusses best practices, troubleshooting, and highlights limitations and considerations for effective use.

The article details the file structure of a uni-app project, explaining key directories like common, components, pages, static, and uniCloud, and crucial files such as App.vue, main.js, manifest.json, pages.json, and uni.scss. It discusses how this o

The article discusses optimizing images in UniApp for better web performance through compression, responsive design, lazy loading, caching, and using WebP format.
