/webviewer-document-merge

Drag and drop PDFs, MS Office, images to assemble documents.

Primary LanguageJavaScriptOtherNOASSERTION

WebViewer - React - Dropzone sample

WebViewer is a powerful JavaScript-based PDF Library that's part of the PDFTron PDF SDK. It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.

You can watch a video that walks through the demo of this app.

WebViewer UI

This repo is specifically designed for any users interested in implementing a dropzone where users can drag and drop thumbnails from the two viewers and download the resulting file.

Initial setup

Before you begin, make sure your development environment includes Node.js.

Install

npm install

Run

npm start

Build

Run npm run build to build the project. The build artifacts will be stored in the build/ directory. See the section about deployment for more information.

To test the build directory locally you can use serve or http-server. In case of serve, by default it strips the .html extension stripped from paths. We added serve.json configuration to disable cleanUrls option.

WebViewer APIs

See API documentation.

Contributing

See contributing.

License

See license.