You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm moving some code from the front to back end, in particular PDF generation.
I'm able to execute plain JS code with this library and it works great, I can use pdfmake to generate PDFs and return the file as a stream, but I've been using @react-pdf/renderer and have built up a set of templates in JSX/TSX I'd like to keep using.
To do this I know I'll need to run the code through babel or another transpiler, but I haven't set this up from scratch.
Does anyone have an example of setting up React and babel to where it will work with JavaScript.NodeJS?
The text was updated successfully, but these errors were encountered:
Hi there, I'm moving some code from the front to back end, in particular PDF generation.
I'm able to execute plain JS code with this library and it works great, I can use
pdfmake
to generate PDFs and return the file as a stream, but I've been using@react-pdf/renderer
and have built up a set of templates in JSX/TSX I'd like to keep using.To do this I know I'll need to run the code through babel or another transpiler, but I haven't set this up from scratch.
Does anyone have an example of setting up React and babel to where it will work with
JavaScript.NodeJS
?The text was updated successfully, but these errors were encountered: