On this page
How to Run a Demo
ComPDFKit Web Viewer provides one demo for developers to learn how to call the SDK on the Web. You can find them in the ComPDFKit-Web-Viewer-Demo folder. This guide will show you how to run it in VSCode.
Open the Demo project in VSCode.
Install all dependencies that are needed in the Demo.
javascriptnpm install
Run ComPDFKit Web Viewer Demo in the development environment
javascriptnpm run dev
PDF will be opened and displayed.