红联Linux门户
Linux帮助

Vue 2.3.0正式发布,轻量级JavaScript框架

发布时间:2017-04-28 09:15:45来源:红联作者:baihuo
Vue 2.3.0 正式发布了,Vue 是一款轻量级 JavaScript 框架。

新版了带来一些改进和 bug 修复,具体如下:

改进:

改进服务器端的渲染

改进异步组件

改进功能组件

官方为 Vue 创建了一个全新的服务器端渲染指南,建议所有使用者阅读。此外,还更新了 HackerNews 上的 Demo,以反映最新的最佳做法。

Bug 修复:

fix v-model not syncing for autocomplete / switching focus before confirming composition

fix style diffing on cached/slot elements

fix keep-alive cache incorrectly pruned with transition mode="out-in"

fix Symbol check error in Node 4.x

fix duplicate attribute warning when using class and :class together in Edge

fix v-model checkbox binding with Array index

fix incorrect compiler warning for $delete usage in templates

allow slot names to be number 0

fix text inside