Skip to content

This example shows how to integrate PSPDFKit for Web into a Nuxt.js app. pspdfkit.com

Notifications You must be signed in to change notification settings

PSPDFKit/pspdfkit-web-example-nuxtjs

Repository files navigation

PSPDFKit for Web Example – Nuxt.js

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

Prerequisites

  • Node.js version 18.12.0 or higher.
  • PSPDFKit for Web (get your free trial here)

Getting Started

Clone the repo:

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

Install the project dependencies with npm:

npm install

Nuxt.js Component

The Nuxt.js component which implements the PSPDFKit for Web integration is included at pages/index.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 postinstall script.

Running the Example

We are ready to launch the app! 🎉

# serve with hot reload at localhost:3000
npm run dev

# build for production and launch server
npm run build
npm start

# generate static project
npm run generate

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

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/

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.

About

This example shows how to integrate PSPDFKit for Web into a Nuxt.js app. pspdfkit.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published