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.
This repo is specifically designed for any users interested in integrating WebViewer into Svelte project. This project was generated using the Svelte degit template.
You can explore all of the functionality in our showcase.
Before you begin, make sure your development environment includes Node.js.
git clone https://github.com/PDFTron/webviewer-svelte-sample.git
cd webviewer-svelte-sample
npm install
npm run dev
Run npm run build
to build the project. The build artifacts will be stored in the public/
directory.
See API documentation.
See license.