An example of MuPDF WebViewer within a React project.
- Node.js
- npm
- Visit https://webviewer.mupdf.com/account to get a license key.
- Copy the license key and replace
YOUR_LICENSE_KEYinsrc/App.jsxwith the license key.
Tip
Ensure to register localhost as a domain for your license key if you require to test locally!
npm cinpm run devnpm run build