Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.8 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.8 KB

PSPDFKit for Web Example – Vue 3

This example shows how to integrate PSPDFKit for Web into a Vue.js app.

If you're looking for the Vue 2 example, you can switch to the vue-2 branch.

Prerequisites

Support, Issues and License Questions

PSPDFKit offers support for customers with an active SDK license via https://pspdfkit.com/support/request/

Are you evaluating our SDK? That's great, we're happy to help out! To make sure this is fast, please use a work email and have someone from your company fill out our sales form: https://pspdfkit.com/sales/

Getting Started

Clone the repo:

git clone https://github.com/PSPDFKit/pspdfkit-web-example-vue.git
cd pspdfkit-web-example-vue

Install the project dependencies with npm:

npm install

Vue Component

The Vue component which implements the PSPDFKit for Web integration is included at src/App.vue with the rest of the example.

In order to make the PSPDFKit for Web's library available for building, we have to copy the pspdfkit-lib/ directory from node_modules/pspdfkit/dist/ into the public/js/ directory. This is done in the package.json script verify-installation which is executed by serve.

Running the Example

We are ready to launch the app! 🎉

npm run serve

You can now open http://localhost:8080 in your browser and enjoy!

License

This software is licensed under a modified BSD license.

Contributing

Please ensure you have signed our CLA so that we can accept your contributions.