import axios from 'axios' import Vue from 'vue' axios.create({ baseURL: process.env.BASE_URL }) Vue.prototype.$http = axios