• 1 vue2 begin
  • a1_Hello
    动态设置id为app的下面的变量
  • a2_v-bind
    v-bind 动态设置变量的value
  • a3_v-if
  • v-if 可以控制, 通过变量动态改变v-if中的条件变量
  • a4_v-for
  • v-for 输出所有数组的值
  • a5_v-on
  • v-on的简单点击事件的处理
  • a6_v-model
  • v-model 实现变量和input表达数据的动态绑定
  • a7_component
  • Vue.component 动态获取component, 设置对应的template模版, 从v-for中循环获取数据