Example of how to open a PDF file in a ReasonML app. You can find more details about the source code in the blog post: https://pspdfkit.com/blog/2019/open-pdf-with-reasonml/
Clone the repo and, from its root folder, run:
npm install
npm run build
Run:
npm run start
The app will be available at http://localhost:5000
.
For a complete solution, please check out our Web SDK.