This component needs a v-model to work as a return variable. So in your template HTML section use it as: This returns an object with 4 inner variables: response = { file: <- This is the file itself ...