我只想要pdf.js在客户端流星。我已经花了很长时间了。因此,这篇文章不太可能让你更好地理解我迄今所做的事情。
我开始使用流星软件包。在这个包中给出的示例之后,我在<canvas>中只有一个页面,比如Hello in pdf.js。但我想要像pdf.js给我的一样。经过一些研究和栈中的文章,溢出没有得出如何处理这个包的结论。pdf.js推荐的另一个包是。我没有使用它,因为它是为客户端
pdf.js使用web workers: // Specify the main script used to create anew PDF.JS web worker.
// In production, change this to point to the combined `pdf.js` file./src/worker_loader.js'