智能化下的产物,无人棋牌室
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 theel
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
orvue-loader
will perform the template pre-compilation.
下载地址:
Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。
主要特性:
- 可扩展的数据绑定
- 将普通的 JS 对象作为 model
- 简洁明了的 API
- 组件化 UI 构建
- 配合别的库使用