PDF-Lib on Vue #1425
Unanswered
mcfltimpug
asked this question in
Q&A
PDF-Lib on Vue
#1425
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is an about page
Generate PDfexport default {
data: () => ({
}),
methods: {
async modifyPdf() {
const url = 'https://pdf-lib.js.org/assets/with_update_sections.pdf'
const existingPdfBytes = await fetch(url).then(res => res.arrayBuffer())
}
}
</script>
I use the above code but it's giving this error:
24:15 error 'width' is assigned a value but never used no-unused-vars
35:7 error 'pdfBytes' is not defined no-undef
Beta Was this translation helpful? Give feedback.
All reactions