Closed lialia-siterocket closed 3 years ago
I had same issue last day. I solved this issue for myself by downgrade package. I hope it works for you too :)
@AminHadei for me it works too, but the creator of the package promise to resolve another issue by this update (in ver 1.4.0+) 😄
How far do you have to downgrade to get this to work?
I got 1.3.1 working. Doesn't the author notice that 1.4.0 and 1.4.1 don't work at all? Or maybe there's more than one way to use it.
What version are you using? tested with 1.3.1 and 1.3.0 and same behavior :-(
Had the same error, v1.3.1 worked for me. Thanks @jaredthirsk
yah i got version 1.3.1 its working now .
I can't get version 1.3.1 to work without it triggering errors in Chrome about passing a boolean in window.open. Has anyone figured out a workaround for this? Can't use 1.4.0, which apparently has that fix, cuz of the issue outline here.
EDIT To get this to work without closing, I removed the name
param.
I had the same issue and no luck with v1.3.1.
same...
no luck.
Hello everyone, apologies for the super late response. I am extremely sorry for responding so late to your inquiries. I am super busy right now and I find it hard to include these issues in my time. I hope you understand. I will do what I can to help you with your issues. I will keep you posted here. Again, I am truly sorry. Please stay safe everyone.
Hi @lialia-siterocket can you share how you installed the plugin? Thanks.
Hi all I hope that v1.4.2
will fix this problem.
The problem was that the new script for building using webpack was upgraded to latest webpack version and it seems to have some bad effects causing the build output to have undefined
on the installed
method of the plugin, which means the plugin is never being installed properly but without error. Hence the $htmlToPaper
method was never available in the first place.
This was entirely my mistake, I only tested the umd
build implementation the one you see in the documentation.
Please let me know if there's any more problem. Thanks.
Hello! Installed last ver 1.4.1
app.js:
Template:
<a @click.prevent="printHtml()" class="btn small" href="">Print</a>
Methods: