@sidebase/nuxt-pdf

A Nuxt 3 module to create Server Side rendered PDFs
36,026
Install
npm install @sidebase/nuxt-pdf@0.1.2
Latest Version:0.1.2
Vue:3
License:MIT
Last Updated:Mar 4, 2024
Links: npm
Maintainer: fervid

nuxt-pdf

📄 nuxt-pdf

npm version npm downloads GitHub stars License Follow us on Twitter Join our Discord

nuxt-pdf is a easy to use, pdf exporting module to convert Nuxt 3 components into downloadable PDFs.

Features

  • Easily export your Nuxt 3 components into PDFs
  • Generate PDFs on your server
  • Guides for PDF specific styles
  • Track exporting progress

Quick Setup

  1. Add @sidebase/nuxt-pdf dependency to your project
# Using pnpm
pnpm add -D @sidebase/nuxt-pdf

# Using yarn
yarn add --dev @sidebase/nuxt-pdf

# Using npm
npm install --save-dev @sidebase/nuxt-pdf
  1. Add @sidebase/nuxt-pdf to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@sidebase/nuxt-pdf'
  ]
})

That's it! You can now use NuxtPDF in your Nuxt 3 app ✨

Afterwards you can use the Quick Start documentation to explore the features and properly configure your NuxtPDF instance!

Development

# Install dependencies
pnpm install

# Generate type stubs
pnpm run dev:prepare

# Develop with the playground
pnpm run dev

# Build the playground
pnpm run dev:build

# Run ESLint
pnpm run lint

# Publish a new release (bump version before)
pnpm publish --access public

Related Packages

@sidebase/nuxt-auth

Authentication built for Nuxt 3! Easily add authentication via OAuth providers,...

2,098,326 1,554
@sidebase/nuxt-parse

Parse, validate and transform data with confidence in nuxt using `zod`

12,669 54
@sidebase/nuxt-session

**DEPRECATION NOTICE:** `nuxt-session` will be depreacated at the 11.12.2023 - r...

28,816

Version History

Version Released License
0.1.2 MIT
0.1.1 MIT
0.1.0 MIT
Pre-releases (18)
Version Released License
1.0.0-alpha.0 MIT
0.2.0-alpha.0 MIT
0.1.1-alpha.17 MIT
0.1.1-alpha.16 MIT
0.1.1-alpha.15 MIT