You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works great and I can see in the console all the relevant logs I added without an error.
(I can see an error in the console - pdf.js:11096 GET http://localhost:8090/pdf.worker.js 404 (Not Found), but the PDF file loaded and visible)
When I change the 1st line of code to: import { Document, Page } from 'react-pdf/dist/entry.webpack';
In the console:
-- No custom error from the added methods
-- No error regarding pdf.worker.js like mentioned above.
Hi @wojtekmaj, first I would like to say that this package is great and easy to use.
now, the issue I encounter - When I tried to increase the performance as advised in the
readMe
file I've encountered an issue.My code that works is:
This works great and I can see in the console all the relevant logs I added without an error.
(I can see an error in the console -
pdf.js:11096 GET http://localhost:8090/pdf.worker.js 404 (Not Found)
, but the PDF file loaded and visible)When I change the 1st line of code to:
import { Document, Page } from 'react-pdf/dist/entry.webpack';
In the console:
-- No custom error from the added methods
-- No error regarding
pdf.worker.js
like mentioned above.On the Screen:
-- Can't see nothing on the screen
In DevTools the html element is:
Is it stuck on
loading
?if yes, why?
The text was updated successfully, but these errors were encountered: