-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
How to use it in sveltekit project? #68
Comments
<script>
import PdfViewer from 'svelte-pdf';
</script>
<PdfViewer url='https://raw.githubusercontent.com/vinodnimbalkar/svelte-pdf/369db2f9edbf5ab8c87184193e1404340729bb3a/public/sample.pdf' /> Please check this: https://stackblitz.com/edit/sveltejs-kit-template-default-pjuhkj |
Thank you for replying. |
Has anyone got this working in sveltekit? as of April 2024? |
you can try using this library, it works. |
I have it working on sveltekit ! |
Have you got a working repo I can take a look at? |
Regrettably not, but if you want you can show me your implementation and I can help you with it |
Unless I'm missing something there's not much implementation to talk about, so let's assume the implementation at the top (initial post on this issue). Or the one in the docs:
I also get the same error: It seems that it goes in here: But I guess that this has to do with the installation. In my project, the
|
My code
it shows this error
The text was updated successfully, but these errors were encountered: