Vue 2.5 Level E 已发布,在先有的基础上做了很多相应改进和对 bug 的修复。目前 2.5 系列最新的版本为 2.5.2。
我们很高兴宣布 Vue 2.5 Level E 的发布!本次发布包括多个功能提升,推荐你查看发布说明来获取完整详细信息。本次更新一些更重要的的变化包括:
更好的 TypeScript 集成
更好的错误处理
更好地支持单文件组件中的功能组件
与环境无关的服务端渲染
详细如下:
错误处理和报告
improve error handling with new
errorCaptured
hook b3cd9bc [Details]improve template expression error message e38d006, closes #6771
improve option type checks b7105ae
TypeScript 声明改进
功能组件
compiled templates for functional component support ea0d227
scoped CSS support for functional components 050bb33
服务器端渲染
renderToString
now returns a Promise if no callback is passed f881dd1, closes #6160add
shouldPrefetch
option (same signature asshouldPreload
) 7bc899c, closes #5964auto-remove initial state embed script if in production (#6763) 2d32b5d, closes #6761
now ships an environment-agnostic build of the server renderer in
vue-server-renderer/basic.js
c5d0fa0 [Details]
更多请查看发布主页。
下载地址:
引用来自“gaicitadie”的评论
一个不炒作,就没人关注的娱乐圈框架