Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 743 Bytes

vue.js-0.12vs1.0.md

File metadata and controls

28 lines (17 loc) · 743 Bytes

upgrade vue.js 0.12 to 1.0

List Rendering

  • v-repeat changes to v-for more
  • alias is required in v-for
  • alias for the index(key) is available

Events

  • v-on="click:onClick" changes to v-on:click="onClick"
  • @click="onClick is available
  • event modifiers and key modifiers are available more

transition

  • v-transition changes to transition

components

  • v-ref="child" changes to v-ref:child

attributes binding

  • v-class changes to :class more

Form Input Bindings