*.vue files to build native applications or pages. This page will help you to write a Weex application in 2 minutes.
VueJS (pronounced /vjuː/, like view) is a progressive framework for building user interfaces. Unlike other monolithic frameworks, Vue is designed from the ground up to be incrementally adoptable. The core library is focused on the view layer only, and is very easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with modern tooling and supporting libraries.
VueJS is developed by Evan You.
Weex now fully supports VueJS 2.x officailly. Weex put Vue 2.x as its built-in JS Framework, making it powerful for building native apps!.
To test Weex online using our Playground App:
- Install the Playground App on your phone.
- Open the Hello World example in a new tab, click run, and then use the Playground App to scan the QR code.
As shown in the following code：
It’s too easy，right? Take a look at the syntax, that is vue.
You can try to modify the Hello World example if you have previous knowledge of building VueJS examples, then generate a new QR code to scan. If you don’t have previous knowledge of VueJS, don’t worry, this guide will teach you just that. Moreover, you can always learn from the VueJS Guide.