Skip to content

OnedocLabs/dev-local

Repository files navigation

dev-local

Dev Local
The new way to build documents.
High-quality, unstyled components for creating PDFs.


Getting started

1. Installation

Clone the repository.

npm install

2. Set up environment

  • Copy the .env.example file to .env and fill in the required fields.
FILEFORGE_API_KEY="your_api_key"
  • For a live rendering experience, split your IDE in two views, and open invoice.pdf in your right tab. You can use the PDF Viewer extension if you are using VS Code.

3. Render your first document$

npm run render

4. Have fun !

Build and render documents of your own in just one command line !

5. Remove the watermark

By default, this repository has test: false enabled in ./src/render.tsx. To add the watermark and be in test mode, set test: true in ./src/render.tsx.

About

A small repository for local PDF development with Fileforge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published