vue3-simple-html2pdf
vue3-simple-html2pdf copied to clipboard
Export/Download Vue3 using html2pdf.js. Easy to custom any pdf style because it is exported from real HTML.
Generate Report long page show slowly and blank page

Hi, I tried to use the code you provided in the codesandbox, but I'm getting an error:  And this is my component:  My Vue js version is 3.
This allows Vite to actually use the package.
> node_modules/vue3-simple-html2pdf/src/index.js:1:31: error: Could not resolve "vue3-simple-html2pdf/src/vue3-simple-html2pdf" (mark it as external to exclude it from the bundle) 1 │ import Vue3SimpleHtml2pdf from 'vue3-simple-html2pdf/src/vue3-simple-html2pdf' ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I encountered an issue while trying to install a package in Vue 3. Initially, I was unable to install the package. I resolved this by adding .vue to the end...