Skip to content

📦 Request: Example project using @nutrient/pspdfkit with Angular frontend inside Electron app #21

@gino8080

Description

@gino8080

I’m currently using @nutrient/pspdfkit and I would really appreciate a working example showing how to integrate it in an Angular-based frontend running inside an Electron app.

Project structure

My setup is split into two parts:
• Root project: has Electron-related code, its own package.json, and handles launching the Electron app.
• application/ subfolder: contains the Angular app with its own package.json, CLI config, etc.

Electron either:
• loads the Angular app from localhost:4200 during development
• or points to the Angular build output (dist/) in production.

What I need

I’d love an example project or starter showing:
• How to properly include and configure @nutrient/pspdfkit in this kind of architecture
• Recommended way to load and display a PDF using the library inside an Angular component
• Handling of .mjs modules, if needed
• Any gotchas or Electron-specific requirements (e.g. sandbox, nodeIntegration, preload scripts)

Thanks in advance for your time and this great library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions