How to dev
with prerender-data-provider
?
#1802
-
I decided to use But when I run the app I get an error What did I miss in the setup? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
Did you set Prerendering in dev will only run on first build, you will not get refreshed prerender data/HTML without restarting the dev server, but this will provide the prerender data that you can use in your app. |
Beta Was this translation helpful? Give feedback.
That looks like you're not prerendering
/graphics
then.Can you provide a reproduction? It's hard to diagnose an issue that I cannot see.
That's one way to use it, sure. Just need a slight modification to a route to use it:
value
will then have your prerender data for that route.props
will come from the router, but just needs to …