皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

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

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

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声明改进

  • further improve Vue type declarations for canonical usage (#6391db138e2

函数式组件

  • 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 as shouldPreload7bc899c, closes #5964
  • auto-remove initial state embed script if in production (#67632d32b5d, closes #6761
  • now ships an environment-agnostic build of the server renderer in vue-server-renderer/basic.jsc5d0fa0 [Details]

更多请查看发布主页

下载地址:

转自 http://www.oschina.net/news/89575/vuejs-2-5-0