pdfslick / pdfslick Goto Github PK
View Code? Open in Web Editor NEWView and Interact with PDFs in React SolidJS, Svelte and JavaScript apps
Home Page: https://pdfslick.dev
License: MIT License
View and Interact with PDFs in React SolidJS, Svelte and JavaScript apps
Home Page: https://pdfslick.dev
License: MIT License
Hi!
The package.json
lists the repo license as MIT but there is no LICENSE
file.
Could that be added? Thank you!
I tried out the Solid.js code example and I get this error. Is this because I use Vite
with it? Is there a workaround to this?
I checked the file paths and http://localhost:5173/node_modules/.vite/deps/pdfjs-dist/build/pdf.worker.js does not exist for me. There isn't anything in deps
actually related to it.
If I run pnpm i pdfjs-dist
, I will get the node_modules/pdfjs-dist/build/pdf.worker.mjs
file (but it is .mjs
and not .js
?) and I wondered if I just need to link this file, but I am not sure how.
Hi!
I noticed that GlobalWorkerOptions.workerSrc
points to cdn.jsdelivr.net
by default, and there's no way to change that from the outside.
pdfslick/packages/core/PDFSlick.ts
Line 53 in 5abacb3
But I also noticed there's already a pdf.worker.js
in core/lib/
.
Do you think we can fix this?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.