Skip to content

How to Run a Demo

ComPDFKit for Web provides one demo for developers to learn how to call the SDK on the Web. You can find them in the "ComPDFKit-Web-Demo" folder. This guide will show you how to run it in VSCode.

  1. Open the Demo project in VSCode.

  2. Install all dependencies that are needed in the Demo.

    npm install
  3. Run "ComPDFKit Web Demo" in the development environment.

    npm run dev
  4. PDF will be opened and displayed.