红联Linux门户
Linux帮助

Vue.js 0.12.0-rc发布,JavaScript库

发布时间:2015-06-02 12:08:24来源:红联作者:empast
Vue.js 0.12.0-rc 发布,现已提供下载:Vue.js-0.12.0-rcs.zip。

改进

v-repeat now supports using track-by="$index" when there's no key to track. This causes Vue to reuse the DOM elements and child instances in place without re-ordering them, so prefer using it on simple repeats without interactivity.

Literal props are now supported when manually mounting a root instance.

Paths containing dynamic segments, e.g. a[b] will now create the path if not already present, however, it will throw a warning and prompt you to pre-initialize the path if possible.

修复

props are now properly persisted when an instance's $data is replaced.

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

支持的浏览器:https://saucelabs.com/u/vuejs

软件详情:http://vuejs.org/guide/installation.html

下载地址:https://github.com/yyx990803/vue/archive/0.12.0-rc.zip

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

共有 0 条评论