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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

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

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
