-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extending prerender routes with Sanity #581
Comments
I installed @sanity/client and added the fallowing code to my nuxt.config
Like this everything works as desired and I get the wanted results with no errors.
|
I have posted a discussion on this to be used with Nuxt's new routeRules, but I am struggling to still work out the best way. I have done something inspired by your solution @MartCube but not sure if what I have done will affect performance in a bad way or not. Can you spot any issues with this? https://github.com/nuxt/framework/discussions/9673 |
I'm trying to extend prerender routes fallowing this example
At this point I believe Sanity Client is not initialized.
I'm straggling to call Sanity and pass the array of dynamic routes who are not prerender by Nitro.
The text was updated successfully, but these errors were encountered: