Vue 2.3.0 正式发布了,Vue 是一款轻量级 JavaScript 框架。 新版了带来一些改进和 bug 修复,具体如下: 改进: 改进服务器端的渲染 改进异步组件 改进功能组件 官方为 Vue 创建了一个全新的服务器端渲染指南,建议所有使用者阅读。此外,还更新了 HackerNews 上的 Demo,以反映最新的最佳做法。 Bug 修复: #5238, #5387 fix v-model not syncing for autocomplete / switching focus before confirming composition #5318 fix style diffing on cached/slot elements #5346 fix keep-alive cache incorrectly pruned with transition mode="out-in" #5361 fix Symbol check error in Node 4.x #5394 fix duplicate attribute warning when using class and :class together in Edge #5398 fix v-model checkbox binding with Array index (@posva via #5402) #5464 fix incorrect compiler warning for $delete usage in templates #5480 allow slot names to be number 0 (@posva via #5481) #5526 fix text inside <script type="x/template"> being unnecessarily decoded vue-class-component#87 fix base class lifecycle hook dropped when constructor options are modified before applying global mixin 更新内容较多,详情请参阅发布说明。 下载地址 Source code (zip) Source code (tar.gz) Vue 2.3.0 正式发布,轻量级 JavaScript 框架下载地址