Vue.js Tutorial
Vue.js (pronounced /vjuː/, like "view") is a progressive framework for building user interfaces.
Vue focuses only on the view layer, adopting a bottom-up incremental development design.
Vue's goal is to achieve reactive data binding and composable view components through an as-simple-as-possible API.
Vue is very easy to learn; this tutorial is tested based on Vue 2.1.8. For Vue3, please refer to Vue 3 Tutorial.
Vue 2.0 stopped being updated on December 31, 2023.
Knowledge you need before reading this tutorial:
- HTML
- CSS
- JavaScript
This tutorial mainly introduces the use of Vue2.x.
First Example
Vue 2.0 Hello World
<
div
id
=
"
app
"
<
p
{{ message }}
p
div
Try it »
Click the "Try it" button to view the online example
References:
Vue introductory tutorial:https://vuejs.org/guide/introduction.html
Official documentation:http://vuejs.org/v2/guide/syntax.html
Chinese documentation: https://v2.cn.vuejs.org/v2/guide/