Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import axios from 'axios'
- const axiosInstance = axios.create({
- baseURL: process.env.API
- })
- export default ({ Vue }) => {
- Vue.prototype.$axios = axiosInstance
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement