import pdfjsLib from 'pdfjs-dist';. and we're referencing the web worker from our /vendor/assets/javascripts directory: import workerSrc ...
確定! 回上一頁