rafa-thayto / pix-pdf

Home Page:https://pix-pdf.vercel.app/?path=/story/example-pdf--default

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Woovi Pix PDF

How to run

  • Install deps
pnpm install
  • Run storybook
pnpm storybook

How to develop new templates

- Create a new file in src/templates
- Create .stories.tsx file
- Run the command `pnpm storybook`

How to expose a new template

- Export the new template in src/templates/index
- Add the new template to templatesMap src/bin/generate-pdfs
- Run the command `pnpm generate-pdfs`

The pdf file will be available in the generated-pdfs folder

References

About

https://pix-pdf.vercel.app/?path=/story/example-pdf--default

License:MIT License


Languages

Language:TypeScript 99.7%Language:HTML 0.3%