Removed fetch and replaced with axios (mostly due to simpler syntax, and support…
Removed fetch and replaced with axios (mostly due to simpler syntax, and support for upload progress events). Also added support for custom errors, for failed API calls, failed login, etc... Errors are stateful, and can be dismissed by the user.
Showing
... | @@ -9,8 +9,10 @@ | ... | @@ -9,8 +9,10 @@ |
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@popperjs/core": "^2.11.0", | "@popperjs/core": "^2.11.0", | ||
"axios": "^0.24.0", | |||
"bootstrap": "^5.1.3", | "bootstrap": "^5.1.3", | ||
"core-js": "^3.6.5", | "core-js": "^3.6.5", | ||
"uuid": "^8.3.2", | |||
"vue": "^3.0.0", | "vue": "^3.0.0", | ||
"vue-router": "^4.0.0-0", | "vue-router": "^4.0.0-0", | ||
"vuex": "^4.0.0-0" | "vuex": "^4.0.0-0" | ||
... | ... |
src/store/axios.js
0 → 100644
Please
register
or
sign in
to comment