Learn Vue 2: Part 18 - Vue AJAX Requests With Axios
312 بار بازدید -
6 سال پیش
-
Vue doesn't provide any specific
Vue doesn't provide any specific AJAX functionality out of the box. Instead, you have the entire spectrum of the JavaScript community to pull from. Maybe you're already using jQuery? If so, $.ajax will do the trick. Want a native option? Consider the fetch API (just don't forget to include a polyfill for older browsers). Or, maybe a general purpose library will do the trick? In this lesson, we'll review Axios: a clean and simple HTTP request API that you can be integrated into any projec
6 سال پیش
در تاریخ 1397/03/03 منتشر شده
است.
312
بـار بازدید شده