[Vuejs]-How to store returned value in a component prop vue js

0👍

I would create a method that makes the API request, and store response, something like:

async uploadMedia(){
const {data} = await makeAPICallToUploadMedia();
this.media= data;
}

then simply in media-upload element :jsonHandler=’media’

Leave a comment