Vue.js v2.1.7 發布,一個構建數據驅動的 web 界面的庫
Vue.js(讀音 /vju?/, 類似于 view)是一個構建數據驅動的 web 界面的庫。Vue.js 的目標是通過盡可能簡單的 API 實現響應的數據綁定和組合的視圖組件。
Vue.js 自身不是一個全能框架——它只聚焦于視圖層。因此它非常容易學習,非常容易與其它庫或已有項目整合。另一方面,在與相關工具和支持庫一起使用時,Vue.js 也能完美地驅動復雜的單頁應用。
如果你喜歡下面這些,那你一定會喜歡 Vue.js:
- 可擴展的數據綁定機制
- 原生對象即模型
- 簡潔明了的 API
- 組件化 UI 構建
- 多個輕量庫搭配使用
10 秒鐘看懂 Vue.js
更新日志
- Improved stateful components instantiation performance by ~30%.
- From version 2.1.7 and up, you can directly use the CDN link https://unpkg.com/vue for the standalone build.
- #4472 fix functional component multiple root nodes regression
- #4478 fix SVG foreignObject namespace regression
- #4484 unbind v-show if no longer present during patch
- #4494 ensure
value
for<option>
is always updated (@defcc via #4505) - #4497 fix
v-for
behavior with string value (@posva via #4499) - #4510 ensure leave transitions and enter transitions triggered by the same state change are started in the same frame
- #4514 fix
v-model
selected value update betweenand
""
(@defcc via #4528) - #4518 change
Vue.config.ignoredElements
default value to be consistent with docs (@semenyukdmitry via #4518) - #4521 avoid checked state being overwritten before change event trigger
- #4529 support
v-bind
object syntax on scoped slots - #4530 fix special attributes (e.g.
value
) patching error when switching between dynamic and static bindings - #4533 fix hydration error caused by empty text nodes between
v-if
conditions - #4535 fix node removal error when patching elements with
v-text
(@defcc via #4548) - #4538 avoid casting empty string to Boolean when a prop expects both String and Boolean types (@fliptheweb via #4539)
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/11dad5c3
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!