UNPKG

@tuttarealstep/vue-pdf.js

Version:

A Vue component for displaying PDF files using the standard `pdf.js` viewer. This package provides a simple and powerful integration to embed PDF viewers in Vue applications.

10 lines (9 loc) 430 B
import { Plugin } from 'vue'; import { default as VuePDFjs, VuePDFjsProps } from './components/VuePDFjs.vue'; import { default as usePDF } from './composable/usePDF'; export * from './types'; export { PDFJS, PDFViewerApplicationConstants, PDFViewerApplicationOptions } from './scripts/viewer'; export declare const VuePDFjsPlugin: Plugin; export type { VuePDFjsProps }; export { VuePDFjs, usePDF }; export default VuePDFjsPlugin;