2๐
I remember having the same trouble as you a few months back.
While looking at some older code it turns out I used a module called vue-pdf.
After declaring the module as a component like so:
components : {
pdf : PDFViewer,
}
You can just use it in your markup by passing in your link:
<pdf :pdf="brochureDocument"/>
๐คdavedeecoder
Source:stackexchange.com