vue3-pdfjs
vue3-pdfjs copied to clipboard
PDF Reader for Vue 3 using Mozilla's PDF.js
 ###### 报错 缺少字体 Warning: loadFont - translateFont failed: "r: The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.". vue3-pdf-embed.js?8066:1 Warning: Error...
const loadingTask = createLoadingTask(state.source) loadingTask.promise.then((pdf: { numPages: number }) => { state.numPages = pdf.numPages // alert(pdf.numPages) }) 在支付宝环境内嵌H5只显示一页。里面打印不出来总页数
Multi-page pdf preview exception after build. { message: "Cannot read properties of null (reading 'headersReady')", name: 'UnknownErrorException', details: "TypeError: Cannot read properties of null (reading 'headersReady')" } In the development...
Hello, when I attempt to enable annotations by just following the basic example, I get following series of errors: ``` Uncaught (in promise) TypeError: this.linkService.getDestinationHash is not a function at...
[error] [vite:css-post] Transform failed with 2 errors: ✘ [ERROR] Unterminated string token :77:214: 77 │ ...ct width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13); ╵ ^ ✘ [ERROR] Unterminated string token :78:207:...
好像存在内存泄漏问题 每次打开关闭 内存飙升
Need to support with abstracts
 错
It's not possible to build it in other way than develop, because some scripts inside vue3-pdfjs have no declarations:  failed build:  SyntaxError: Cannot use import statement outside a...
```shell $ yarn dev yarn run v1.22.17 warning ../package.json: No license field $ vite --host error when starting dev server: Error: The following dependencies are imported but could not be...