pdfme / pdfme

A TypeScript based PDF generator library, made with React.
https://pdfme.com
MIT License
2.16k stars 192 forks source link

Import pdfme with a script element #456

Closed marcusx2 closed 1 month ago

marcusx2 commented 1 month ago

Is your feature request related to a problem? Please describe.

I want to use pdfme by importing it with a script element. I don't use nodejs, typescript, webpack, etc.

Describe the solution you'd like

I want to import pdfme with the script tag like pdfjs

<script type="module">
import pdfjsDist from 'https://cdn.jsdelivr.net/npm/pdfjs-dist@4.0.379/+esm'
</script>

or pdf-lib <script src="https://unpkg.com/pdf-lib"></script>

Describe alternatives you've considered

None

Additional context

No response

hand-dot commented 1 month ago

This is not a feature request. Please continue at https://github.com/pdfme/pdfme/discussions/455

marcusx2 commented 1 month ago

@hand-dot I understand, can you help me on that discussion? I'd greatly appreciate it. Thanks...