Vue.js v2.0.0-beta.6發布,一個構建數據驅動的 web 界面的庫
Vue.js(讀音 /vju?/, 類似于 view)是一個構建數據驅動的 web 界面的庫。Vue.js 的目標是通過盡可能簡單的 API 實現響應的數據綁定和組合的視圖組件。
Vue.js 自身不是一個全能框架——它只聚焦于視圖層。因此它非常容易學習,非常容易與其它庫或已有項目整合。另一方面,在與相關工具和支持庫一起使用時,Vue.js 也能完美地驅動復雜的單頁應用。
如果你喜歡下面這些,那你一定會喜歡 Vue.js:
- 可擴展的數據綁定機制
- 原生對象即模型
- 簡潔明了的 API
- 組件化 UI 構建
- 多個輕量庫搭配使用
10 秒鐘看懂 Vue.js
更新日志
重大更改
- vnode data:
staticAttrs
is removed to ensure proper updates in certain edge cases. This change does not affect the static tree optimization. When authoring render functions, just useattrs
.
Bug修復
- fix class update edge cases when the new vnode doesn't contain any data
- #3329 allow 2 root nodes with v-if and v-else in template (@chrisvfritz)
- #3334 fix
value
binding with value of(@ktsn)
- #3341 fix whitespace preservation inside
<pre>
- #3354 fix
v-show
transition when the transition component is used inside the child component template - #3360 fix patch error when a node with
v-html
orv-text
also has inner content in template. - #3365 fix class merging between multiple nested components sharing the same element
- #3367 fix vnode children not evaluated correctly when the children is nested thunk (@chrisvfritz)
下載
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!