使用 Vue.js

Vue 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 easy to pick up and integrate with other libraries or existing projects.

History

版本 时间
1.0 2015-10
2.0 2016-08
2.1 2016-11
2.2 2017-02
2.3 2017-04
2.4 2017-07
2.5 2017-10
2.6 2019-02
3.0 2020-09
3.1 2021-06

Guide

Vue 2 Guide
Vue 2 中文教程
Vue 3 Guide

Lifecycle

beforeCreate
created
beforeMount
mounted
beforeUpdate
updated
beforeDestroy
destroyed

Lifecycle Diagram

注意

  • data定义的数据项的数据类型必须和真实数据类型一致

参考

我的Vue示例