2.3.8 • Published 6 years ago

the-vue-axios v2.3.8

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

vue-axios

A small wrapper for integrating axios to Vuejs

How to install:

CommonJS:

npm install --save the-vue-axios axios axios-retry

Create ./plugins/axios.js:

import Vue from 'vue'
import VueAxios from 'the-vue-axios'

Vue.use(VueAxios)

And import to ./main.js:

import './plugins/axios'

Usage:

This wrapper bind axios to Vue or this if you're using single file component.

You can axios like this:

Vue.$axios.$get(api).then(data => {
  console.log(data)
})
2.3.8

6 years ago

2.3.4

6 years ago

2.3.3

6 years ago

2.3.2

6 years ago

2.3.0

6 years ago

2.2.9

6 years ago

2.2.8

6 years ago

2.2.7

6 years ago

2.2.6

6 years ago

2.2.5

6 years ago

2.2.4

6 years ago

2.2.3

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.9

6 years ago

2.1.8

6 years ago

2.1.7

6 years ago

2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago