Display PDFs in your Vue app as easily as if they were images.
Vue < 2.7
For Vue 2.7+
/ Vue 3
, reference to branch next.
Install vue-pdfjs2
via npm or yarn.
$ npm install vue-pdfjs2 [--save]
# or yarn
$ yarn add vue-pdfjs2
Check it out in example/