commit | ae5ae2296f962778cc7c3c65eafeb4369eb6a26c | [log] [tgz] |
---|---|---|
author | xiaoxiaohaozi <sujusttobemyself@gmail.com> | Fri Mar 29 15:29:44 2019 +0800 |
committer | GitHub <noreply@github.com> | Fri Mar 29 15:29:44 2019 +0800 |
tree | 86fb57b901df269c7a17758b8f3869186fb749a5 | |
parent | 0db40321f400516f8e87b094e182693dd7e6f0b8 [diff] |
A demo that how to use input component You can use input component to gather text-based input from the user using keyboard. This input component is supported for many different types of content such as plain text,numbers,and so on. Input component use some tartget-action methods to capture changes during editing. These actions are @input, @change,@focus,@blur and @keyboard.
This is the source code of Weex official website.
First you should install the Node.js, and install dependencies:
npm install
After that, you can start a web server to preview the website on your local machine.
npm run dev
It will start a web server at http://localhost:8080
. The pages will be updated automatically once you save the corresponding source file.
The documents are written in Markdown format located in the docs
folder. Feel free to send pull requests!
To write a blog, edit ‘docs/.vuepress/config.js’.
'/blog/': [['write-a-blog', 'Write a Blog'], ['your-file-name', 'Your article title']] '/zh/blog/': [['write-a-blog', '写一篇博客'], ['your-file-name', '你的文章标题']]