Skip to content

Commit a1f26ed

Browse files
authored
Update README.md
1 parent 69da97f commit a1f26ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A small wrapper for integrating axios to Vuejs
33

44
## How to install:
5-
### CommonJS/ES6 Module:
5+
### ES6 Module:
66
```bash
77
npm install --save axios vue-axios
88
```
@@ -13,7 +13,8 @@ import Vue from 'vue'
1313
import axios from 'axios'
1414
import VueAxios from 'vue-axios'
1515

16-
Vue.use(VueAxios, axios)
16+
const app = Vue.createApp(...)
17+
app.use(VueAxios, axios)
1718
```
1819

1920
### Script:

0 commit comments

Comments
 (0)