This phase focuses on strengthening vue-pdf-export without breaking the existing public API.
Planned work:
  1. Fix selectable-text Print properly
- Repair Print behavior in renderMode="text"
- Keep Canvas-mode Print working
- Improve browser E2E coverage for Print
  1. Introduce a unified generation result and timing foundation
- Add a common internal result model
- Preserve the current GeneratePdfResult API
- Prepare the package for richer output and telemetry later
  1. Expose total generation time in the playground
- Add overall generation duration
- Add stage-level timing
- Add per-page timing instrumentation
- Surface useful performance information without changing generated PDFs by default
  1. Expose stress-test page-count presets in the playground
- 5
- 10
- 25
- 50
- 100
- 200
- 500
- 1000
- Custom page count / multiplier
- Include safe warnings for heavy and extreme tests
- Preserve cancellation and recovery
  1. Add package-manager consumer compatibility fixtures
- npm
- pnpm
- Yarn
- Yarn Plug'n'Play
- Bun
- Verify install, TypeScript resolution, production build, CSS import, and runtime PDF generation
  1. Add Nuxt 3 and Nuxt 4 SSR compatibility fixtures
- Ensure package imports do not crash during SSR
- Audit browser-only globals and imports
- Add explicit Nuxt integration guidance
- Add <ClientOnly> integration blueprint
- Keep actual PDF generation browser-side
  1. Add data-pdf-ignore
- Allow developers to exclude elements from generated PDFs
- Apply exclusion only in the export/staging copy
- Avoid permanently mutating the live application DOM
  1. Add page/body styling APIs
- Page background color
- Body background color
- Page CSS/classes
- Body CSS/classes
- Per-page style customization
- Keep behavior predictable across Canvas and selectable-text rendering modes
Primary goals:
  • improve reliability
  • improve browser compatibility
  • improve package-manager compatibility
  • improve Nuxt SSR safety
  • improve playground diagnostics
  • add low-risk customization features
  • avoid breaking existing users
This phase should be implemented incrementally with regression tests after each step.