Getting Started with Axios and WordPress
When working with modern Javascript like Vue.JS, a common thing is sending and receiving data via ajax. While this could be handled with jQuery, I’d recommend using Axios which is a modern standalone library for handling ajax requests. Axios can be enqueued just like any other Javascript library. The following PHP is an example…