The API has a progress method that takes a function.
https://github.com/pagekit/vue-resource/blob/develop/docs/api.md
I am trying to develop a Vue.js application.In this regard I am uploading file in this Application. Now I would like to develop a progress bar for that file upload feature. I am trying to follow a tutorial. Here I got axios library for upload file. The code is like below
axios.post("/upload.php",fd,{
onUploadProgress: function() {
//code here
}
})
But I am using vue-resource. How can I detect upload progress in vue-resource?
Please or to participate in this conversation.