Product: “@pdftron/webviewer”: “^8.0.0”,
Product Version: 8.0.0
Can not get the viewer to render with webpack-dev-server
I have an existing React project not created with create-react-app so I do not have a public folder and I do not run the app with react-scripts start. I just need an example of where to copy the public folder so I can serve the viewer with webpack-dev-server. I have tried multiple locations.
I can see this error in my logs:
TypeError: Cannot read property ‘addEventListener’ of null