A lightweight Vue.js plugin that integrates Axios as a global Vue plugin, adding $http and $axios properties to Vue instances and components. Version 0.1.3, last updated in 2017, no active releases. Differentiators include simple installation via Vue.use() and support for global defaults and interceptors in options. However, it is outdated, not compatible with Vue 3, and relies on Vue 2's plugin system. Alternatives include vue-axios (updated) and direct Axios usage.
npm install axios-vueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installation and usage of axios-vue with global defaults and a response interceptor.
Use vue-axios or native Axios with Vue 3 (Composition API).
Use only one method of defining interceptors (prefer options).
Check for naming conflicts; in Vue 3, use provide/inject or direct Axios imports.
Switch to actively maintained packages like vue-axios or axios itself.
Ensure Vue.use(axiosVue) is called before creating any Vue instances; access via Vue.$http on the constructor if needed.
Run Vue.use(axiosVue) in your app entry file before new Vue().
Use vue-axios or install axios directly and use Composition API functions.
Use import statement: import axiosVue from 'axios-vue'. Ensure your bundler is configured for ESM.