Vue.js v2.0.0-beta.6发布,一个构建数据驱动的 web 界面的库
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/1f02a7efb50dcca3bb1e01e5ef4f8d97.png" /></p> <p>Vue.js(读音 /vjuː/, 类似于 view)是一个构建数据驱动的 web 界面的库。Vue.js 的目标是通过尽可能简单的 API 实现响应的数据绑定和组合的视图组件。</p> <p>Vue.js 自身不是一个全能框架——它只聚焦于视图层。因此它非常容易学习,非常容易与其它库或已有项目整合。另一方面,在与相关工具和支持库一起使用时,Vue.js 也能完美地驱动复杂的单页应用。</p> <p>如果你喜欢下面这些,那你一定会喜欢 Vue.js:</p> <ul> <li>可扩展的数据绑定机制</li> <li>原生对象即模型</li> <li>简洁明了的 API</li> <li>组件化 UI 构建</li> <li>多个轻量库搭配使用</li> </ul> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/b34b5ccc53962c052f47eb0e71aa1690.png" /></p> <p style="text-align: center;"><strong>10 秒钟看懂 Vue.js</strong></p> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/82a4e3be0ecdc5e00b7cd2322560c91b.png" /></p> <h2>更新日志</h2> <h3>重大更改</h3> <ul> <li>vnode data: <code>staticAttrs</code> is removed to ensure proper updates in certain edge cases. This change does not affect the static tree optimization. When authoring render functions, just use <code>attrs</code>.</li> </ul> <h3>Bug修复</h3> <ul> <li>fix class update edge cases when the new vnode doesn't contain any data</li> <li><a href="/misc/goto?guid=4958992792538358238">#3329</a> allow 2 root nodes with v-if and v-else in template (<a href="/misc/goto?guid=4958992792660710354">@chrisvfritz</a>)</li> <li><a href="/misc/goto?guid=4958992792775342472">#3334</a> fix <code>value</code> binding with value of <code></code> (<a href="/misc/goto?guid=4958991488986063800">@ktsn</a>)</li> <li><a href="/misc/goto?guid=4958992792940944364">#3341</a> fix whitespace preservation inside <code><pre></code></li> <li><a href="/misc/goto?guid=4958992793057173033">#3354</a> fix <code>v-show</code> transition when the transition component is used inside the child component template</li> <li><a href="/misc/goto?guid=4958992793173513619">#3360</a> fix patch error when a node with <code>v-html</code> or <code>v-text</code> also has inner content in template.</li> <li><a href="/misc/goto?guid=4958992793283216199">#3365</a> fix class merging between multiple nested components sharing the same element</li> <li><a href="/misc/goto?guid=4958992793397872954">#3367</a> fix vnode children not evaluated correctly when the children is nested thunk (<a href="/misc/goto?guid=4958992792660710354">@chrisvfritz</a>)</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958992793534523381" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958992793641522074" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul>