yarn add pdfjs-dist. 需要使用cdn將worker部署上去, 直接import會報錯. pdfjs必須使用require引入, import會報錯, 可能和我專案用的ts有關.
確定! 回上一頁