1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Vue v2.0.0-alpha.6 发布,轻量级 JavaScript 框架 下载

本帖由 漂亮的石头2016-06-23 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,736
    赞:
    47
    Vue v2.0.0-alpha.6 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

    更新内容:


    New


    • Now works with vue-devtools 2.0.0


    • Properly support number keyCodes and custom keyCodes in v-on. Custom keyCodes can be defined in Vue.config.keyCodes:

      Vue.config.keyCodes.a = 65

      <input @keyup.a="aPressed">

    • The binding object in custom directive hooks now exposes the raw expression as a string:

      <div v-custom="msg"></div>

      Vue.directive('custom', { bind (el, binding) { console.log(binding.expression) // "msg"
      }
      })
    Fixed


    • #3133 Fixed computed properties dependency collection error


    • #3137 Fixed template error detection incorrectly detecting keywords


    • Fixed output for undefined and null values for v-model


    • Fixed unary tags handling in single-file component parser


    下载地址:

    Vue v2.0.0-alpha.6 发布,轻量级 JavaScript 框架下载地址
     
正在加载...