sidebase / nuxt-pdf

📄 A easy to use, pdf exporting module to convert Nuxt 3 components into downloadable PDFs.
https://sidebase.io/nuxt-pdf/getting-started
MIT License
102 stars 11 forks source link

how to import nuxt-pdf #12

Closed tia-aif closed 4 months ago

tia-aif commented 1 year ago

Ask your question

import { exportToPDF } from '#imports'

Additional information

No response

zoey-kaiser commented 4 months ago

You should just be able to use it inside your app, without any imports needed. Please note, this module is only for Nuxt 3 and makes use of their module system. Please refer to our installation and quick start docs here: https://sidebase.io/nuxt-pdf/getting-started/quick-start