title: How to add a link to download a pdf file nuxt?
body: <p>I just wants to add a link to download a pdf file in nuxt project. </p>
  
  <h2>How do I do that?</h2>
  
  <p>I have tried the following:</p>
  
  <pre><code>&lt;a :href="require('@/static/documents/WTSDL2019_Pamplet.pdf')" download class="btn btn-sm btn-sub-color" &gt;Download&lt;/a&gt;
  </code></pre>
  
  <p>which works well for images but not for pdf files. I found <code>vue-pdf</code> but I feel its an extra work for the purpose of just linking a pdf file. I have no work view a pdf files with all those events.</p>