pdf-fge-vue3
v1.3.17
Published
Vue + PDFjs Component made for FGE
Downloads
797
Readme
Vue 3 + TypeScript + Vite
Vue + PDFjs Component made for FGE
Pdf Viewer Component
import { FileSrcPdf } from 'pdf-fge-vue3'; import 'pdf-fge-vue3/styles.css';
const PdfViewer = defineAsyncComponent({
loader: () => import('pdf-fge-vue3'),
});
<PdfViewer
v-if="pdf"
:file="pdf"
:page-number="1"
:toolbar="props.toolbar"
:token="store?.userState?.token || ''"
:verifyFgeEmployee="false"
@fileApprovedCD="(approbationId: string) => emit('fileApprovedCD', approbationId)"
:modeAgetic="('DEV' as any)"
>
</PdfViewer>