npm vue-template-compiler 2.0.0-alpha.6

latest releases: 2.7.16, 2.7.16-beta.2, 2.7.16-beta.1...
7 years ago

New

  • Now works with vue-devtools 2.0.0!

  • Properly support number keyCodes and custom keyCodes in v-on. Custom keyCodes can be defined in Vue.config.keyCodes:

    Vue.config.keyCodes.a = 65
    <input @keyup.a="aPressed">
  • The binding object in custom directive hooks now exposes the raw expression as a string:

    <div v-custom="msg"></div>
    Vue.directive('custom', {
      bind (el, binding) {
        console.log(binding.expression) // "msg"
      }
    })

Fixed

  • #3133 Fixed computed properties dependency collection error
  • #3137 Fixed template error detection incorrectly detecting keywords
  • Fixed output for undefined and null values for v-model
  • Fixed unary tags handling in single-file component parser

Don't miss a new vue-template-compiler release

NewReleases is sending notifications on new releases.