vue.js pdf viewer
npm install vue-pdf-nocache-cmapbash
npm install vue-pdf-nocache-cmap
`
`bash
yarn add vue-pdf-nocache-cmap
`
Example - basic
`vue
`
##### Example - display multiple pages of the same pdf document
`vue
v-for="i in numPages"
:key="i"
:src="src"
:page="i"
style="display: inline-block; width: 25%"
>
`
##### Example - print all pages
`vue
`
##### Example - print multiple pages
`vue
`
##### Example - get text content
`vue
@click="logContent"
>
log content
ref="myPdfComponent"
src="https://cdn.mozilla.net/pdfjs/tracemonkey.pdf"
>
`
##### Example - complete
`vue
/{{numPages}}
{{ Math.floor(loadedRatio 100) }}%
``