From ae254626d4b8e2fdeea0f044e46391efdc5591c3 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Wed, 18 Nov 2020 19:58:33 +0100 Subject: [PATCH] (vue-urql) - add missing extractData to docs (#1171) * add missing extractData * Update server-side-rendering.md --- docs/advanced/server-side-rendering.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/advanced/server-side-rendering.md b/docs/advanced/server-side-rendering.md index 94f6c854e0..d70fc93964 100644 --- a/docs/advanced/server-side-rendering.md +++ b/docs/advanced/server-side-rendering.md @@ -357,6 +357,8 @@ const handleRequest = async (req, res) => { }); const markup = await renderToString(app); + + const data = JSON.stringify(ssr.extractData()); res.status(200).send(`