dimanche 16 décembre 2018

How do I create a button that on click downloads a PDF file I have stored in my assets of the project?

`<a href="../../../assets/application.pdf" class="downloadApp" download>

Download/a>`

This is very frustrating because my react project with the exact same HTLM5 link serves up the pdf to the user. When I click on it in my vue project (I'm transfering over) it just says file not found.




Aucun commentaire:

Enregistrer un commentaire