1.5.0 • Published 27 days ago

@4tw/vue-cli-plugin-pdfjs-viewer v1.5.0

Weekly downloads
77
License
MIT
Repository
-
Last release
27 days ago

vue-cli-plugin-pdfjs-viewer

The mozilla pdf.js viewer as an NPM package.

Usage

This vue-cli plugin will copy all the required pdf.js files into the public folder. The viewer will then be available under the following URL: {BASE_URL}/pdfjs/web/viewer.html?file=/example.pdf.

By providing a value for pdfjsPath under pluginOptions the default target path can be overridden. For example by setting the path to public/assets/pdfjs the pdf.js files will be available under {BASE_URL}/assets/pdfjs/web/viewer.html?file=/example.pdf.

Updating

In order to update the viewer, pdf.js needs to be built and copied into the assets folder.

1.5.0

27 days ago

1.4.0

4 months ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago