
VueJS 2.5.0 “Level E” 发布,在先有的基础上做了很多相应改进和对bug的修复。
错误处理和报告
- 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 #6160- add
shouldPrefetch
option (same signature asshouldPreload
) 7bc899c, closes #5964 - auto-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]
更多请查看发布主页。
下载地址:
转自 http://www.oschina.net/news/89575/vuejs-2-5-0