Like the title, what are the advantages of axios?
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...
axios has more powerful functions. For example, axios has file download progress, but vue-resources does not.
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...
axios has more powerful functions. For example, axios has file download progress, but vue-resources does not.