We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using this code to load a pdf,
import DocViewer, { DocViewerRenderers } from 'react-doc-viewer'; function DocViewerFile() { const docs = [ { uri: 'http://10.6.0.220/testing2/560RCR01_DS_en.pdf', }, ]; return <DocViewer pluginRenderers={DocViewerRenderers} documents={docs} />; } export default DocViewerFile;
but I am not able to load that pdf on browser. This is the screenshot -
http://10.6.0.220/testing2/560RCR01_DS_en.pdf is the valid link- I see a PDF on the browser when I put this URL in the browser directly.
Any idea, what is missing here.
The text was updated successfully, but these errors were encountered:
I'm trying to use the above package but, I'm having same issue me too
Sorry, something went wrong.
pdfjs-dist folder is missing under utils.
Tried copying the files and folder which is visible in node_modules [in the same heirarchy of the build folder]. Didnt work
No branches or pull requests
I am using this code to load a pdf,
but I am not able to load that pdf on browser. This is the screenshot -
http://10.6.0.220/testing2/560RCR01_DS_en.pdf is the valid link- I see a PDF on the browser when I put this URL in the browser directly.
Any idea, what is missing here.
The text was updated successfully, but these errors were encountered: