Simple Vue3 component for rendering PDF on HTML Canvas with fixed size.
- 0.4.4
$ git clone git@github.com:Kibo/pdf-viewer-vue3.git
$ cd pdf-viewer-vue3
$ npm install
$ npm run build
$ npm run start
Open http://localhost:3000 in your browser.
<template>
<PDFDocument v-bind:src="'/assets/testa.pdf'" />
</template>
<script>
import PDFDocument from "./pdf/PDFDocument.vue"
export default {
components: {
PDFDocument
}
}
</script>