发布于 2016-11-05 01:01:57 | 143 次阅读 | 评论: 0 | 来源: 网友投递
Vue.js 轻量级 JavaScript 框架
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
Vue v2.0.4 发布了,
构建
The npm distribution now includes dist/vue.runtime.js
, a UMD version of the runtime only build that can be used in browsers. It is also available on CDN.
改进
20% SSR performance improvements by eliminating closures with context passing (via #4007 by @HerringtonDarkholme)
修复
fix transition error when using one delay to control all transitions (via #3932 by @guidobouman)
#3940 fix root v-else not rendering in prod (via #3943 by @chrisvfritz)
#3942 fix Vue.set not supporting sparse array (via #3947 by @leonlau)
#3957 fix global props mixin
#3958, #3979 fix v-model binding with array indice (via #3988 by @defcc)
#3964 fix v-once
inside v-for
#4018 fix .number
modifier for select, radio and checkbox (via #4022 by @defcc)
#4055 fix style
merging on component nodes in SSR (via #4076 by @HerringtonDarkholme)
#4062 fix components option object compatibility with Webpack 2 wildcard import
fix TypeScript definitions for RenderContext (via #4099 by @kaorun343)
#4107 fix domProps unset for v-html
fix attrs
and domProps
merging on component nodes in SSR