发布于 2015-08-10 06:56:58 | 88 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Vue.js 教程,程序狗速度看过来!

Vue.js 轻量级 JavaScript 框架

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。


Vue.js 0.12.10 发布,此版本更新内容如下:

改进

  • Support one static <option> inside <select> with v-model + dynamic options:

    <select v-model="selectedUser" options="users">
      <option value="">Select a user...</option>
    </select>

    This static option will be selected by default if the v-model value is falsy (excluding 0). Options created from users will be appended after the default option.

  • Dynamic component wait-for listeners are now attached in the component's created hook, thus firing the event synchronously in compiled hook will now properly trigger the DOM insertion.

Bug 修复

  • template parser now trims empty textNodes from <script> templates, avoiding unnecessarily turning components into fragment mode.

  • #1109 mustach tags inside <textarea> are interpolated only once

  • #1116 transition hangs when immediately leaving after entering

  • #1117 synchronously calling done in leave transition hook causes error

  • #1118 nested <template> not rendering in Safari

  • #1119 out-in transition mode not working as desired when switching faster than transition duration.

  • #1124 number attribute param for v-model not respected on <input type="radio">.

下载:https://github.com/yyx990803/vue/archive/0.12.10.zip

Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

主要特性:

  • 可扩展的数据绑定

  • 将普通的 JS 对象作为 model

  • 简洁明了的 API

  • 组件化 UI 构建

  • 配合别的库使用

支持的浏览器:https://saucelabs.com/u/vuejs



历史版本 :
Vue 2.5.12 和 2.5.13 发布,轻量级 JavaScript 框架
VueJS 2.5.0 "Level E" 发布,做了许多改进
Vue 2.4.2 发布,轻量级 JavaScript 框架
Vue 2.4.0 和 2.4.1 发布,轻量级 JavaScript 框架 
Vue 2.3.4 正式发布,轻量级 JavaScript 框架 
Vue 2.3.3 正式发布,轻量级 JavaScript 框架 
Vue 2.3.2 发布,轻量级 JavaScript 框架
Vue 2.3.0 正式发布,轻量级 JavaScript 框架
Vue 2.3.0-beta.1 发布,轻量级 JavaScript 框架
Vue 2.2.6 发布,轻量级 JavaScript 框架
Vue 2.2.5 发布,轻量级 JavaScript 框架
Vue 2.2.3 和 2.2.4 发布,轻量级 JavaScript 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务