I need to build views in PDF format, but I still want to use Redwood.JS and TailwindCSS.
There are packages for this but I want to write pages they way I normally do it with Tailwind.CSS
Not like this
doc.moveDown(2);
doc.fontSize(12);
doc.text(`Hanteras av: ${params.handledBy}`);
I know that you can change the contentType to be more like this contentType("application/pdf")
How can I accomplish this in Redwood, viewing files in pdf rather than html.
It would be nice if there a was prop in the router like this
<Route path="/" page={MyComponent} name="index" renderFormat={"pdf"} />