README
easy-axios
使用
import axios from 'easy-axios';
async function getData () {
const res = await axios.get({
url: 'http://xxx'
});
return res;
}
easy-axios
<script type="module">
import easyAxios from 'https://cdn.skypack.dev/easy-axios';
</script>
import axios from 'easy-axios';
async function getData () {
const res = await axios.get({
url: 'http://xxx'
});
return res;
}