vue-axios-client

JSON →
library 0.2.2 ·javascript maintenance
verified Jun 7, 2026

A Vue.js plugin and AxiosRequest component that integrates Axios with Vue, providing a scoped-slot based API for async HTTP requests. The current stable version is 0.2.2. The package wraps the full Axios request lifecycle (loading, error, success) into a reusable component, reducing boilerplate for data fetching in Vue templates. It supports configurabe axios instances, lazy requests, pending delay, and transformData for response preprocessing. Compared to alternatives like vue-resource or vuex-axios, it offers a more declarative, template-oriented approach using slot props (data, isLoading, error). The library is lightweight, with no runtime dependencies beyond vue and axios, and it is released on a slow cadence (last update in 2018). Note that it only supports Vue 2 and is not compatible with Vue 3.