How is npm applied when pdf.js is introduced into vue project?

use pdf.js; to preview pdf, in recent vue projects

is native. How is npm introduced and used?

Jul.16,2021

there is a npm package available, pdfjs-dist

npm install pdfjs-dist

wrote a demo:
http://www.chenhanpeng.com/PD.

before.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e39a74-4456a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e39a74-4456a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?