pdfjs-loading-error #17873
Unanswered
dineshpithiya-virtusa
asked this question in
Q&A
pdfjs-loading-error
#17873
Replies: 1 comment
-
Someone help me to configure or make it functionals sample editor provided by pdf.js into react js Above one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using your pdf.js latest version which I am downloading from Link
After download I see there is folder like below
I run locally using live-server and all working fine. But I have to use and configure same example with react js. I am able to make it functional samples available in example folder. But fail with sample editor available with web folder.
pdf.js/web
/viewer.html
Without importmap how can use this web/viewer.html sample in react js? I already tried with many possible solutions but fail. recently I use same importmap in to react index.html but still it's return error like below.
Cannot read properties of undefined (reading 'value') TypeError: Cannot read properties of undefined (reading 'value') at GenericL10n.get (http://localhost:3000/web/l10n.js:68:25)
So here I am confuse about feasibility. web/viewer.html sample can we integrate with react js or not ? If yes then can you suggest way or sample please
Beta Was this translation helpful? Give feedback.
All reactions