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.
1 parent 85f2638 commit a3522a6Copy full SHA for a3522a6
package.json
@@ -21,6 +21,7 @@
21
"aws-amplify": "^1.1.32",
22
"aws-amplify-vue": "^0.2.13",
23
"aws-appsync": "^1.8.1",
24
+ "axios": "^0.19.0",
25
"fs-extra": "^8.1.0",
26
"graphql": "^14.4.2",
27
"graphql-tag": "^2.10.1",
quasar.conf.js
@@ -6,6 +6,7 @@ module.exports = function (ctx) {
6
// app boot file (/src/boot)
7
// --> boot files are part of "main.js"
8
boot: [
9
+ 'axios'
10
],
11
12
css: [
src/boot/axios.js
@@ -0,0 +1,4 @@
1
+import axios from 'axios'
2
+export default ({ Vue }) => {
3
+ Vue.prototype.$axios = axios;
4
+}
0 commit comments