PDF.js Express Svelte Example

PDF.js Express Viewer is a powerful JavaScript-based PDF Library. It provides a slick, responsive and customizable UI that out-of-the-box interacts with the core library to view PDFs and is ready to be embedded into any web project.

This repo is specifically designed for any users interested in integrating Express into Svelte project. This project was generated using the Svelte degit template.

Initial setup

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

Install

git clone https://github.com/pdfjs-express/pdfjs-express-viewer-svelte-sample.git
cd pdfjs-express-viewer-svelte-sample
npm install

Run

npm run dev

Build

Run npm run build to build the project. The build artifacts will be stored in the public/ directory.

Express APIs

See API documentation.

License

See license.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes