Just add sync attribute to config.
It just available in browser enviroment.
axios.get('/aaa', { sync: true })
axios.post('/bbb', { param1: 'value1'}, { sync: true })
fork from: https://github.com/jamesltesim02/axios
Just add sync attribute to config.
It just available in browser enviroment.
axios.get('/aaa', { sync: true })
axios.post('/bbb', { param1: 'value1'}, { sync: true })
fork from: https://github.com/jamesltesim02/axios
npm i axiosync
0
0.19.0-beta.4
MIT
319 kB
40