You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!