https://github.com/nsimonfr/react-pdf-tailwind-ts
React PDF + Typescript + TailwindCSS
https://github.com/nsimonfr/react-pdf-tailwind-ts
react-pdf tailwindcss typescript
Last synced: 8 months ago
JSON representation
React PDF + Typescript + TailwindCSS
- Host: GitHub
- URL: https://github.com/nsimonfr/react-pdf-tailwind-ts
- Owner: nSimonFR
- License: mit
- Created: 2023-12-31T10:38:48.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T06:15:32.000Z (about 1 year ago)
- Last Synced: 2025-01-22T12:14:50.145Z (about 1 year ago)
- Topics: react-pdf, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 383 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React PDF + Typescript + Tailwind
A simple template to bootstrap a PDF file generator using TSX syntax + Tailwind.
## Example
- [Input](./src/index.tsx)
- [Output](./dist/PDF.pdf)
## How To
Includes a small `build.ts` to generate the PDF as a file; you simply have to call `npm run build` to generate it.
An example use case is generating files to publish on Github Pages, ex => https://github.com/nSimonFR/nSimonFR
## Ressources
- [React](https://react.dev/)
- [React-PDF](https://react-pdf.org/)
- [Typescript](https://www.typescriptlang.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [React-PDF-Tailwind](https://github.com/aanckar/react-pdf-tailwind)