@sidebase/nuxt-pdf
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-alpha.0962latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.0-alpha.0962
0.2.0-alpha.05
0.1.2278
0.1.122
0.1.1-alpha.171
0.1.1-alpha.162
0.1.1-alpha.151
0.1.1-alpha.141
0.1.1-alpha.131
0.1.1-alpha.120
0.1.1-alpha.111
0.1.1-alpha.100
0.1.1-alpha.91
0.1.1-alpha.81
0.1.1-alpha.70
0.1.1-alpha.60
0.1.1-alpha.51
0.1.1-alpha.41
0.1.1-alpha.21
0.1.1-alpha.00
0.1.03

Package Sidebar

Install

npm i @sidebase/nuxt-pdf

Weekly Downloads

1,282

Version

1.0.0-alpha.0

License

MIT

Unpacked Size

13.3 kB

Total Files

26

Last publish

Collaborators

  • valiafetisov
  • zoey-kaiser
  • bracketjohn