Skip to content

Commit 9e4da4f

Browse files
committed
Update README.md
1 parent ee16c65 commit 9e4da4f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Usage in Vue 3:
3030
```js
3131
const app = Vue.createApp(...)
3232
app.use(VueAxios, axios)
33-
app.mount('#app')
3433
```
3534

3635
### Script:

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function plugin(app, axios) {
4545
}
4646

4747
app.axios = axios;
48+
app.$http = axios;
4849
}
4950

5051
if (typeof exports == "object") {

0 commit comments

Comments
 (0)