title: File upload progress bar in vue.js
body: <p>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 <code>axios</code> library for upload file. The code is like below</p>
  
  <pre><code>axios.post("/upload.php",fd,{
      onUploadProgress: function() {
         //code here
      }
  })
  </code></pre>
  
  <p>But I am using <code>vue-resource</code>. How can I detect upload progress in <code>vue-resource</code>?</p>