What is the best way to set api url's based on current domain location within the Vue Instance? In angular I would be using something similar to Angular Environment However I have not come accross anything similar with Vue or Axios.
In this case my setup is dependent on multiple environments ( local, dev, stage, prod ). All based on domain relationship.
localhost = '/api-call'
dev.domain.com = 'devapi.domain.com'
prod.domain.com = 'prodapi.domain.com'
Any help at all would be incredible!