I\'m trying to learn vue.js so I made a little app that displays news articles from an API and, in another view, allows the user to log into another server.
For this
You'll want to create a new instance of axios with a custom config for each API you want that has a distinct baseURL.
baseURL
var instance = axios.create({ baseURL: 'https://some-domain.com/api/', timeout: 1000, headers: {'X-Custom-Header': 'foobar'} });