发布于 2016-08-12 00:52:39 | 181 次阅读 | 评论: 0 | 来源: 网友投递

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

Vue.js 轻量级 JavaScript 框架

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


vue v2.0.0-rc.1 和 v2.0.0-beta.8  发布了,

vue v2.0.0-rc.1 主要更新内容:

修复

  • prop validation now work when code is run across different vms/iframes.

重大更新

  • SSR: when using serverCacheKey, the component also needs to have a unique name option.

WIP Documentation

下载地址:

vue v2.0.0-beta.8 主要更新内容:

新增

  • Improved SSR error handling when using bundleRenderer.renderToStream

  • Improved SSR warning when component is missing render function / templates

重大更新

  • keep-alive is no longer a special attribute: it is now a wrapper component, similar to<transition>:

    <keep-alive>
      <component :is="view"></component>
    </keep-alive>

    This makes it possible to use keep-alive on multiple conditional children (note the children should eventually evaluate to a single child - any child other than the first one will be ignored):

    <keep-alive>
      <comp-a v-if="a > 1"></comp-a>
      <comp-b v-else></comp-b>
    </keep-alive>

    When used together with <transition>, make sure to nest it inside:

    <transition>
      <keep-alive>
        <component :is="view"></component>
      </keep-alive>
    </transition>

修复

  • #3395 fix v-show transition triggering more than necessary

  • #3400 fix slot resolution on re-renders

  • #3403 fix double quote decoding inside attributes when using DOM template

  • #3406 fix static node reused incorrectly inside v-for

下载地址:



历史版本 :
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号  版权声明  广告服务