title: How to download pdf file using vuejs and bootstrap-vue
body: <p>I'm trying to upload a <code>pdf</code> file to my browser, but I want to be able to download this file afterwards. I am having problems on the second task - downloading it.</p>
  
  <p>I'm uploading as follow: </p>
  
  <pre><code>&lt;b-form-file v-model="form.file" :state="Boolean(form.file)" placeholder="Choose a file..."&gt;&lt;/b-form-file&gt;
  </code></pre>
  
  <p>How can I download <code>form.file</code> content after upload is done?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I found <a href="https://github.com/eligrey/FileSaver.js#examples" rel="nofollow noreferrer">this</a> API, which handles file downloads nicely.</p>