0👍
You can use a cdn url and link it from your application: https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.js
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.19.2/axios.js"></script>
Of course you can add more options to the script tag
- [Vuejs]-Vue.js send data to a child component and display them
- [Vuejs]-How to display item vue when i click on vue listing all items?
0👍
Most modern browsers come with an API called fetch
. If you use fetch, you do not need to use any external request libraries like axios
or request-promise
.
Here is the documentation for fetch
: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
- [Vuejs]-VueJS (w/ Vuetify) may need additional loader for scoped css
- [Vuejs]-How to save PDF in database with jsPDF?
Source:stackexchange.com