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

Am I able to use this with Vue 3? #941

Closed
jamols09 opened this issue Jul 18, 2021 · 2 comments
Closed

Am I able to use this with Vue 3? #941

jamols09 opened this issue Jul 18, 2021 · 2 comments

Comments

@jamols09
Copy link

I liked this library because I can import pdf and base on that file I can add contents and also I dont need to create new html page to export a pdf with is really awesome for me because I wanted to generate a file with a certain template in one click. However I was wondering if can I use this library with Vue 3 framework ?

If it can be it'll be nice to have some examples with it (hopefully).

Cheers !

@Hopding
Copy link
Owner

Hopding commented Sep 22, 2021

It definitely can be! pdf-lib is framework independent, so it can be used in any JS framework or environment. However, I'm not aware of any Vue-specific examples and don't have time to provide any myself right now.

@stefnotch
Copy link

@Hopding
I tried using pdf-lib with Vue.js (more specifically, Vue.js 3 with Vite). It works flawlessly, and as far as I can tell, there are no framework specific things to watch out for. Unless I've missed anything, I think this issue can safely remain closed.

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