How to dev with prerender-data-provider?
#1802
Answered
by
rschristian
orangecoloured
asked this question in
Q&A
|
I decided to use But when I run the app I get an error What did I miss in the setup? |
Answered by
rschristian
Jul 27, 2023
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. |
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That looks like you're not prerendering
/graphicsthen.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:
valuewill then have your prerender data for that route.propswill come from the router, but just needs to …