Ajax calls in Vue applications
But the recommended ajax package for Vue applications is Axios.
Vue Resource used to be the previous recommended ajax package for Vue apps. In case you're already using it on a project, there's no urge on moving to Axios. But if you're starting a new one, I suggest moving.
By any chance, if you're still willing to migrate to Axios below code would help you a lot:
Vue.prototype.$http = axios;
By using it, you don't have to change
axios in all your ajax calls (god knows how many!).
The truth is you can use any backend language/framework you desire as long as you can send JSON responses with it.