urql/vue How to setup client on client side and server side #1465
-
How do I configure the client on the client side and the server side? For instance there is nothing specifying the url, also I would expect the server side would need to have the url set, not the client side. Then would need to know where to set the authentication token on client or server in the request? I see some stuff in the prepass docs for React, but nothing like it in the Vue Suspense docs for SSR. I am getting this error: Line 35 of entry-server is this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
We need to know the url we are sending requests to this is what the |
Beta Was this translation helpful? Give feedback.
We need to know the url we are sending requests to this is what the
url
property is used for, you have to provide the client to the vue application https://formidable.com/open-source/urql/docs/basics/vue/#providing-the-client