Vue 基础学习(一)

推荐 Vscode 编译器、vue 官网:https://cn.vuejs.org/v2/guide/installation.html
一、Vue 入门
复制代码

二、Vue 列表展示
复制代码
三、Vue 计数器
复制代码

语法糖:v-on:click === @click
四、Vue 的 MVVM


五、options 选项

注:开发中什么时候称之为方法,什么时候称之为 函数?
方法---定义在类中;函数---定义在外面
六、Vue 的生命周期🛴
生命周期:事务从诞生到消亡的整个过程

注:在生命周期中,我们可以自己根据的需要求,编写回调函数。
版权声明: 本文为 InfoQ 作者【Studying_swz】的原创文章。
原文链接:【http://xie.infoq.cn/article/8cf35cea34fca657bc39bc2ca】。文章转载请联系作者。
评论