WebViewer is a powerful JavaScript-based PDF Library that is part of the Apryse SDK. It provides a slick out-of-the-box responsive UI that enables you to view, annotate and manipulate PDFs and other document types inside any web project.
This sample is specifically designed for any users interested in integrating WebViewer into a Nuxt 2 project. This project was created using the npm init nuxt-app
command and uses the BootstrapVue UI Framework as well as the Axios NuxtJS module, which provides a promise based HTTP client.
A license key is required to run WebViewer. You can obtain a trial key in our get started guides, or by signing-up on our developer portal.
WebViewer comes with a 7-day trial without any feature limitations or trial key needed. To extend the trial, a trial key can be obtained by signing-up through the developer portal.
Before beginning, make sure the development environment includes Node.js.
git clone --depth=1 https://github.com/ApryseSDK/webviewer-samples.git
cd webviewer-samples/webviewer-nuxtjs
npm install
In Visual Studio Code or from a Command Prompt window, preview the app in localhost:3000
with an npm
command.
npm run dev
For detailed explanation on Nuxt 2 commands and deployment, check out the documentation.