Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to download the pdf #110

Closed
neomib-paylists opened this issue May 16, 2024 · 2 comments
Closed

Add option to download the pdf #110

neomib-paylists opened this issue May 16, 2024 · 2 comments

Comments

@neomib-paylists
Copy link

neomib-paylists commented May 16, 2024

Hello,
Is there an option to download the pdf? It will be very helpful. Thank you.

@senguyen1011
Copy link

You can implement this yourself! If you add a download attribute on an <a>, it'll create a downloadable link.

<a
  :href="`/public/files/${props.name}.pdf`"
  download
>
  Download Here!
</a>

@TaTo30
Copy link
Owner

TaTo30 commented May 25, 2024

There are several ways to download files with vanilla js or using other libraries, if you already have the source file (how is supposed to be since this library requires it) you could use @senguyen1011 solution.

Anyways if you have an specific situation let us know and feel free to reopen the issue. 😊

@TaTo30 TaTo30 closed this as completed May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants