* pdfjs-dist/es5/web/pdf_viewer in ./node_modules/vue-pdf-signature/src/pdfjsWrapper.js To install it, you can run: npm install --save pdfjs-dist/es5/web/pdf_viewer
时间: 2023-10-09 17:13:02 浏览: 327
pdfjs,web页面的pdf预览工具
To install the `pdfjs-dist` package and specifically the `pdf_viewer` module, you can run the following command in your terminal:
```
npm install --save pdfjs-dist
```
This will install the package and add it as a dependency in your project's `package.json` file. After installing, you can import and use the `pdf_viewer` module in your Vue component by adding the following line:
```javascript
import { PDFViewer } from 'pdfjs-dist/es5/web/pdf_viewer';
```
Make sure to check the documentation of `pdfjs-dist` for further usage instructions and examples on how to integrate it with Vue.
阅读全文