pdfjs-dist报错Module parse failed: Unexpected character ‘#‘

报错信息:

Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.

解决方法:指定版本下载了以前使用的的版本

npm i [email protected]

你可能感兴趣的:(Vue,前端)