Home >Web Front-end >uni-app >what is uni app

what is uni app

青灯夜游
青灯夜游Original
2021-09-01 14:38:098984browse

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.

what is uni app

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.

what is uni app

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn