Vue Ajax request solution for help

I want to use Vue
in the project, but I encounter problems in the network request. Although it is officially recommended to use axios , there is Vue-rescource
but axios writes systems that do not support IE8, that is, almost below win10, as shown in figure

.

this is obviously inappropriate?
and do not want to simply reference jQuery to the Vue project for an Ajax

so
first: how should I choose? Especially when you need to support IE8

second: how to organize the code? The advantage of centralizing into one file or module is that global management and decoupling can also agree to exception handling; of course, it is also possible to separate, so that each module is more independent and good.

I read the famous Vue article: 4 AJAX Patterns For Vue.js Apps , but how do you implement it in practice?

Mar.16,2021

mainly because Vue does not support IE8. So either use it together, or don't use both.

Menu