Weex is a framework for building Mobile cross-platform high performance UI. Developers can write
*.vue files to build native pages or an App. This page will help you write a Weex page in 2 minutes.
The easiest way to try Weex is to use the Playground App and write a Hello World example at dotWe. You don’t need to consider installing the development environment or writing native code, just do the following two things:
- Install the Playground App for 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? Let’s focus on the syntax, obviously this is vue.
You can try to modify the Hello World, then generate a new QR code to scan.