What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-20 07:34:05
How to globally use Axios instance and interceptors in Vue.js
import axios from ‘axios’export default axios.create({ baseURL: `your API end point`, headers: { ‘Accept’: ‘application/json’, ‘Content-Type’: ‘application/json’ } }) Add solution