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
Closed

去掉 vue-resource #186

yyx990803 opened this issue Oct 14, 2016 · 9 comments

Comments

@yyx990803
Copy link

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

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

@dingyiming
Copy link
Collaborator

dingyiming commented Oct 14, 2016

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

@leyec
Copy link

leyec commented Oct 15, 2016

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

@Pentium286
Copy link

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

@Zenfeder
Copy link

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

dingyiming pushed a commit that referenced this issue Dec 12, 2016
@Zhang-O
Copy link

Zhang-O commented Apr 18, 2017

soga

@FlowerBoot
Copy link

需要jsonp 的怎么办?

@dingyiming
Copy link
Collaborator

@cocosmaker 并不影响

@ZaleLoveP
Copy link

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

@haoyi2015
Copy link

very good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants