发布于 2016-06-12 00:52:54 | 59 次阅读 | 评论: 0 | 来源: 网友投递

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

Vue.js 轻量级 JavaScript 框架

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


Vue v2.0.0-alpha.1 发布了。

本次发布的一些改变与提升:

  • The template parser no longer relies on the DOM (unless you are using the real DOM as your template), so as long as you are using string templates (<script type="text/x-template">, inline JavaScript strings, or compiled via single-file components), you are no longer subject to any of the template parsing limitations in 1.x. However, if you are relying on mounting to an element with existing content as template (using the el option), you will still be subject to those limitations.

  • The compiler (the part which converts a template string to a render function) and the runtime can now be separated. There will be two different builds:

    • Standalone build: includes both the compiler and the runtime. This functions basically exactly the same Vue 1.x does.

    • Runtime only build: since it doesn't include the compiler, you need to either pre-compiled templates in a compile step, or manually written render functions. The npm package will export this build by default, since when consuming Vue from npm, you will likely be using a compilation step (with Browserify or Webpack), during which vueify or vue-loader will perform the template pre-compilation.

下载地址:

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

主要特性:

  • 可扩展的数据绑定

  • 将普通的 JS 对象作为 model

  • 简洁明了的 API

  • 组件化 UI 构建

  • 配合别的库使用



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