红联Linux门户
Linux帮助

VueJS 2.5.0 "Level E"发布,做了许多改进

发布时间:2017-10-14 09:09:35来源:红联作者:baihuo
VueJS 2.5.0 "Level E" 发布,在先有的基础上做了很多相应改进和对bug的修复。

错误处理和报告

improve error handling with new errorCaptured hook

improve template expression error message

improve option type checks b7105ae

TypeScript声明改进

further improve Vue type declarations for canonical usage

函数式组件

compiled templates for functional component support

scoped CSS support for functional components

服务器端渲染

renderToString now returns a Promise if no callback is passed

add shouldPrefetch option (same signature as shouldPreload)

auto-remove initial state embed script if in production

now ships an environment-agnostic build of the server renderer in vue-server-renderer/basic.js

软件详情:https://github.com/vuejs/vue/releases/tag/v2.5.0

下载地址:https://github.com/vuejs/vue/archive/v2.5.0.zip

来自:开源中国社区
文章评论

共有 0 条评论