一、vue实例可以使用的数据有哪些
1、实例本身有data、computed、props
2、实例原型上有$store、$router、$parent、$son、$refs等
二、可以使用这些数据的位置
1、template模板中的双花括号中
//vuex中状态title
<div>{{$store.title}}</div>
//data、computed、props等中的title
<div>{{title}}</div>
2、template模板中属性绑定的双引号中
<div :title="$store.title"></div>
<div :title="title"></div>
3、script标签中(js中)
this.title
this.$store.title
this.$router.push()