search

Home  >  Q&A  >  body text

What is the difference between vue-resource and axios?

Like the title, what are the advantages of axios?

过去多啦不再A梦过去多啦不再A梦2794 days ago760

reply all(4)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-18 10:55:21

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

    reply
    0
  • 高洛峰

    高洛峰2017-05-18 10:55:21

    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.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-18 10:55:21

    Look at Yu Da’s own explanation:

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

    reply
    0
  • PHPz

    PHPz2017-05-18 10:55:21

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

    reply
    0
  • Cancelreply