发布于 2016-04-07 23:58:46 | 90 次阅读 | 评论: 0 | 来源: 网友投递
Vue.js 轻量级 JavaScript 框架
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
Vue.js v1.0.21-csp 和 v1.0.21 发布了,主要更新内容如下:
[build] 1.0.21-csp
下载地址:
新的内容:
Component prop类型现在可以为类型数组
绝大多数的警告现在会以名字的形式显示
超时的警告使用console.error
orderBy
filter 提升
:class
bindings 现在可以使用多个类的字符串
track-by
for v-for
现在可以接受一个路径
修复:
#2567 fix IE9 inline bindings that need vendor prefix
#2573 ensure v-if
and v-for
compilation order is not dependent on appearance order. (v-for
always comes first)
#2580 initially invalid props should still be reactive
:class
bindings now ensures consistent class order
#2593 fix explicitly setting Vue.config.devtools
to non-default value
#2606 prop coercion should be applied to default values
#2620 text parser should not remove newlines, also fix cache hit
更多发布详情请点击。
下载地址: