红联Linux门户
Linux帮助

vue v2.0.0-rc.1和v2.0.0-beta.8发布

发布时间:2016-08-12 08:33:16来源:红联作者:baihuo
vue v2.0.0-rc.1 和 v2.0.0-beta.8 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

vue v2.0.0-rc.1 主要更新内容:

修复

prop validation now work when code is run across different vms/iframes.

重大更新

SSR: when using serverCacheKey, the component also needs to have a unique name option.

WIP Documentation

vue v2.0.0-beta.8 主要更新内容:

新增

Improved SSR error handling when using bundleRenderer.renderToStream

Improved SSR warning when component is missing render function / templates

重大更新

keep-alive is no longer a special attribute: it is now a wrapper component, similar to:[code]

[/code]This makes it possible to use keep-alive on multiple conditional children (note the children should eventually evaluate to a single child - any child other than the first one will be ignored):[code]


[/code]When used together with , make sure to nest it inside:[code]



[/code]修复

#3395 fix v-show transition triggering more than necessary

#3400 fix slot resolution on re-renders

#3403 fix double quote decoding inside attributes when using DOM template

#3406 fix static node reused incorrectly inside v-for

软件详情:https://github.com/vuejs/vue/

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

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

共有 0 条评论