Surreal
Rollup error when using server components
I'm guessing it's possible to hack together a dummy polyfill for the Node.js dependencies in postgres, but what I'm confused by is why does Rollup even try to bundle server-only code imports into the client-side/browser bundle?
7 replies
How to get cookie value in SSR page?
P.S. I'm also not getting a "A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function." error, I'm getting a hydration mismatch between a server-side rendered undefined value, and a client-side rendered value from the cookie
6 replies