Skip to content

Commit cb6b7d8

Browse files
committed
docs: use of global options (vue 2.7)
1 parent 95d4fde commit cb6b7d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ app.use(AxiosUseVue, { instance: axiosInstance });
7676
app.mount("#app");
7777
```
7878

79+
```ts
80+
// Vue.js v2.7
81+
Vue.use(AxiosUseVue, { instance: axiosInstance });
82+
```
83+
7984
### useRequest
8085

8186
| option | type | explain |

0 commit comments

Comments
 (0)