红联Linux门户
Linux帮助

Vue v2.0.0-alpha.6发布,轻量级JavaScript框架

发布时间:2016-06-23 09:36:07来源:红联作者:baihuo
Vue v2.0.0-alpha.6 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

更新内容:

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:[code] Vue.config.keyCodes.a = 65

The binding object in custom directive hooks now exposes the raw expression as a string:

Vue.directive('custom', { bind (el, binding) { console.log(binding.expression) // "msg"
}
})[/code]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

下载地址:https://github.com/vuejs/vue/archive/v2.0.0-alpha.6.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论