Open grinnfold opened 1 year ago
Hey, how did you implement it in the front end? Do you mind sharing your nextjs version? I'm trying to implement it in the front end and I keep getting stuck
next v 13.3.1 (I tried on canary but they're currently really unstable) it the front end, you must avoid SSR and go for a dynamic NoSSR component for the whole Document like described in there: https://stackoverflow.com/a/57173209
@grinnfold did you find a workaround ?
Hey 👋 , I'm not entirely sure on whose side this is, but I'm trying to generate a pdf server side using the next's beta appDir, and getting an error:
here is the responsible code:
called in a route.ts:
I tested both with swcMinify on and off, within appDir and outside. It does the same with the other node rendering methods.
Expected behavior The stream or buffer is created
Desktop:
PS: great work, I tried in the front end and it works great !