3、html5、css3的新特性
4、vuex
5、vue常用的api
a.@click @change
b.v-if v-else v-for v-show :
6、vue的父子组件传值及非父子组件传值
7、vue的路由跳转
a. router-link to
b.this.$router.push(url)
8、vue的声明周期
a.beforeCreate this.$el与this.$data还没有被初始化
b.created this.$data已被初始化,this.$el还没有被初始化
c.beforeMount 找到对应的template,并编译成render函数
d.mounted 实例挂载到了DOM上,此时可以通过DOM API获取到DOM节点,$ref属性可以访问
e.beforeUpdate 适合在更新之前访问现有的DOM,比如手动移除已添加的事件监听器
f.updated
g.beforeDesstroy
i.destroyed