Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const instance = axios.create({
- baseURL: process.env.VUE_APP_BASE_URI,
- withCredentials: true
- });
- Vue.prototype.$http = instance;
- this.$http.get('url')
- .then(Response => )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement