[Vuejs]-Axios for Vue without install

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

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

Leave a comment