Skip to content

Commit

Permalink
(vue-urql) - add missing extractData to docs (#1171)
Browse files Browse the repository at this point in the history
* add missing extractData

* Update server-side-rendering.md
  • Loading branch information
JoviDeCroock authored Nov 18, 2020
1 parent c0fe56a commit ae25462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/advanced/server-side-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ const handleRequest = async (req, res) => {
});

const markup = await renderToString(app);

const data = JSON.stringify(ssr.extractData());

res.status(200).send(`
<html>
Expand Down

0 comments on commit ae25462

Please sign in to comment.