We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffe9d75 + abc730e commit 6c03e50Copy full SHA for 6c03e50
README.md
@@ -22,7 +22,8 @@ npm install --save axios vue-axios
22
```
23
Import libraries in entry file:
24
```js
25
-import Vue from 'vue'
+// import Vue from 'vue' // in Vue 2
26
+import * as Vue from 'vue' // in Vue 3
27
import axios from 'axios'
28
import VueAxios from 'vue-axios'
29
src/index.js
@@ -18,7 +18,7 @@ function plugin(app, axios) {
18
}
19
20
if (semver.valid(app.version) == null) {
21
- console.error('Unkown vue version');
+ console.error('Unknown vue version');
return;
0 commit comments