What is the difference between vue-resource and axios?
过去多啦不再A梦
过去多啦不再A梦 2017-05-18 10:53:21
0
4
725

Like the title, what are the advantages of axios?

过去多啦不再A梦
过去多啦不再A梦

reply all(4)
过去多啦不再A梦

vue-resources is no longer updated, vue authors especially recommend axios. That's it.

小葫芦

axios supports the use of Node.js environment. In other words, no additional processing is required in Vue SSR. vue-resources only provided the browser environment at the time, but I don’t know now.

習慣沉默

Look at Yu Da’s own explanation:

https://medium.com/the-vue-po...

PHPzhong

axios has more powerful functions. For example, axios has file download progress, but vue-resources does not.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template