Skip to content

[Module Listing Request]: @maistik/nuxt-pdf #1514

Description

@marsanla

Description

@maistik/nuxt-pdf is a server-side PDF generation module for Nuxt 3 & 4. It renders PDFs from Handlebars templates (.hbs) entirely in Nitro/Node — no PDF code is shipped to the browser.

Key features:

  • Provider-agnostic rendering — switch between Gotenberg, Browserless, or Puppeteer via config.
  • Built-in i18n — a {{t}} helper with nested message keys and locale-aware Intl formatting (currency, dates, numbers).
  • Rich helper library — currency, date, number, math, string, and comparison helpers, plus user-defined custom helpers that work in production.
  • Composable APIusePdf() exposes generate() (returns a Blob) and download().
  • Print-aware — supports @page, page breaks, and @media print styling.

Templates are auto-discovered from your project, and a POST /api/pdf server route is registered automatically.

Repository

https://github.com/Maistik-Studio/nuxt-pdf

npm

https://www.npmjs.com/package/@maistik/nuxt-pdf

Nuxt Compatibility

Nuxt 4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions