0.0.46 • Published 5 months ago

nuxt-pdfmake v0.0.46

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Nuxt PDFMake

npm version npm downloads License Nuxt

Easily add pdfMake to your Nuxt 3 application.

Documentation

See the documentation here: Nuxt PDFMake

Quick Setup

  1. Add nuxt-pdfmake dependency to your project
# Using pnpm
pnpm add -D nuxt-pdfmake

# Using yarn
yarn add --dev nuxt-pdfmake

# Using npm
npm install --save-dev nuxt-pdfmake
  1. Add nuxt-pdfmake to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ["nuxt-pdfmake"],
});

That's it! You can now use Nuxt PDFMake in your Nuxt app ✨.

Usage

You can use the $pdfMake variable inside a function

const { $pdfMake } = useNuxtApp();

Or you can use the usePDFMake composable

const pdfMake = usePDFMake();

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
0.0.40

7 months ago

0.0.41

7 months ago

0.0.42

7 months ago

0.0.43

7 months ago

0.0.44

6 months ago

0.0.45

6 months ago

0.0.46

5 months ago

0.0.37

8 months ago

0.0.38

7 months ago

0.0.39

7 months ago

0.0.36

8 months ago

0.0.22

10 months ago

0.0.23

10 months ago

0.0.24

10 months ago

0.0.25

10 months ago

0.0.30

10 months ago

0.0.31

10 months ago

0.0.32

9 months ago

0.0.33

9 months ago

0.0.34

9 months ago

0.0.35

8 months ago

0.0.26

10 months ago

0.0.27

10 months ago

0.0.28

10 months ago

0.0.29

10 months ago

0.0.20

10 months ago

0.0.21

10 months ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.14

2 years ago

0.0.9

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago