Replies: 1 comment 1 reply
-
This is by design. If you use
Might be worth mentioning this in the docs! (Feel free to add a PR!) Worth noting though is that even if you use If you still prefer "real" SSG - you have to omit |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to implement
tRPC
on my NextJs project. Everything works well except when I try to runnext build
. It emits:As you can see, I expect pages like
/404
,/register
, '/test'... to be static but they actually SSR.I tried to turn off
ssr
option in: https://trpc.io/docs/nextjs#ssr-boolean-default-false and try to build again, this time NextJs did build static pages as I expected:Is that a bug or by design?
Beta Was this translation helpful? Give feedback.
All reactions