Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

去掉 vue-resource #186

Closed
yyx990803 opened this issue Oct 14, 2016 · 9 comments

Comments

Projects
None yet
9 participants
@yyx990803
Copy link

commented Oct 14, 2016

最近团队讨论了一下,Ajax 本身跟 Vue 并没有什么需要特别整合的地方,使用 fetch polyfill 或是 axios、superagent 等等都可以起到同等的效果,vue-resource 提供的价值和其维护成本相比并不划算,所以决定在不久以后取消对 vue-resource 的官方推荐。已有的用户可以继续使用,但以后不再把 vue-resource 作为官方的 ajax 方案。

这里可以去掉 vue-resource,文档也不必翻译了。

@dingyiming

This comment has been minimized.

Copy link
Collaborator

commented Oct 14, 2016

@yyx990803 哦,好的,已经去除vue-resource,更新了网站

@dingyiming dingyiming closed this Oct 14, 2016

@leyec

This comment has been minimized.

Copy link

commented Oct 15, 2016

刚刚习惯 vue-resource , this.$http 传递的this还是蛮方便的, 最后谢谢上次关于不能过滤空格的答复,最后看文档搞懂了.

@qianzhangsheng

This comment has been minimized.

Copy link

commented Oct 19, 2016

以后项目里可以不引用 vue-resource 了吧?

@Zenfeder

This comment has been minimized.

Copy link

commented Oct 20, 2016

干得漂亮!“请求超时处理”这一功能就让我无法忍受!

dingyiming pushed a commit that referenced this issue Dec 12, 2016

@Zhang-O

This comment has been minimized.

Copy link

commented Apr 18, 2017

soga

@boogoobird

This comment has been minimized.

Copy link

commented Apr 28, 2017

需要jsonp 的怎么办?

@dingyiming

This comment has been minimized.

Copy link
Collaborator

commented Apr 28, 2017

@cocosmaker 并不影响

@ZaleLoveP

This comment has been minimized.

Copy link

commented May 10, 2017

我刚刚学习vue,在git上下载了一个项目,可是里面http的jsonp方法都变为未定义了,导致项目运行不了,如何解决呢

@haoyi2015

This comment has been minimized.

Copy link

commented Apr 25, 2018

very good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.