forked from vuejs/v2.vuejs.org
-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
最近团队讨论了一下,Ajax 本身跟 Vue 并没有什么需要特别整合的地方,使用 fetch polyfill 或是 axios、superagent 等等都可以起到同等的效果,vue-resource 提供的价值和其维护成本相比并不划算,所以决定在不久以后取消对 vue-resource 的官方推荐。已有的用户可以继续使用,但以后不再把 vue-resource 作为官方的 ajax 方案。
这里可以去掉 vue-resource,文档也不必翻译了。
dingyiming, galenyuan, Pentium286, 52admln, forehalo and 55 moremlyknown, zhaotoday, raylhx, luckymore, zhuyinjing and 4 morejiangjunfeng98, KarnaughK, zhaotoday, luckymore, zhuyinjing and 3 morezhangqiongyu, luckymore, myle03 and apgyapgydajiza, zhaotoday, raylhx, luckymore, zhuyinjing and 4 more
Activity
dingyiming commentedon Oct 14, 2016
@yyx990803 哦,好的,已经去除vue-resource,更新了网站
leyec commentedon Oct 15, 2016
刚刚习惯 vue-resource , this.$http 传递的this还是蛮方便的, 最后谢谢上次关于不能过滤空格的答复,最后看文档搞懂了.
Pentium286 commentedon Oct 19, 2016
以后项目里可以不引用 vue-resource 了吧?
Zenfeder commentedon Oct 20, 2016
干得漂亮!“请求超时处理”这一功能就让我无法忍受!
Merge pull request #186 from tuj1n/master
Zhang-O commentedon Apr 18, 2017
soga
FlowerBoot commentedon Apr 28, 2017
需要jsonp 的怎么办?
dingyiming commentedon Apr 28, 2017
@cocosmaker 并不影响
ZaleLoveP commentedon May 10, 2017
我刚刚学习vue,在git上下载了一个项目,可是里面http的jsonp方法都变为未定义了,导致项目运行不了,如何解决呢
haoyi2015 commentedon Apr 25, 2018
very good