0👍
use created instead of mounted:
created() {
BuildingsService.getBuildings().then((response) => {
this.buildings = response.data.response;
console.log(response.data.response,"dd");
});
}
for reference: enter link description here
Source:stackexchange.com