Skip to content

Doesn't work with Vite #3

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

Open
mstrade opened this issue Nov 12, 2021 · 7 comments
Open

Doesn't work with Vite #3

mstrade opened this issue Nov 12, 2021 · 7 comments

Comments

@mstrade
Copy link

mstrade commented Nov 12, 2021

Image 2021-11-12 at 12 19 52 PM

@matheusgomes062
Copy link

Getting an error with vite also!
image

Could not make it work using vitesse template :(

@abinhho
Copy link
Contributor

abinhho commented Aug 26, 2022

Sorry I have not tested on Vite yet. Can you give a sample code that help me easy to debug?

@abinhho
Copy link
Contributor

abinhho commented Aug 26, 2022

Please try with version 0.0.7

@maulanayusupp
Copy link

Just tried on vite it's not working.
`
Could not resolve "vue3-simple-html2pdf/src/vue3-simple-html2pdf"

node_modules/vue3-simple-html2pdf/src/index.js:1:31:
  1 │ ...rom 'vue3-simple-html2pdf/src/v...
    ╵        ~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can mark the path
"vue3-simple-html2pdf/src/vue3-simple-html2pdf"
as external to exclude it from the bundle,
which will remove this error.
`

@abinhho
Copy link
Contributor

abinhho commented Oct 28, 2022

@maulanayusupp Could you please make a PR?

@vheins
Copy link

vheins commented Nov 25, 2022

any update?

@WingSMC
Copy link

WingSMC commented Aug 3, 2023

I supposedly fixed it.
Please review & merge.
#7

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

6 participants