/webviewer-vue-sample

Sample to demonstrate integrating WebViewer into Vue

Primary LanguageJavaScriptOtherNOASSERTION

WebViewer - Vue 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.

WebViewer UI

This repo is specifically designed for any users interested in integrating WebViewer into Vue project. You can watch an in-depth video going over this repo or read a guide.

Demos

Trial

WebViewer comes with a 7-day trial without any feature limitations or trial key needed. To extend the trial, you can obtain the trial key by signing-up on our developer portal.

Initial setup

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

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

IE11

Please note that for now, IE11 is not supported. vuejs/rfcs#183 (comment) vuejs/rfcs#183

Customize configuration

See Configuration Reference.