Building a SSG service #930
-
Hey guys, I'm trying to use SSG from within an Express server. What i need is actually what |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You should be able to achieve that. See https://vitejs.dev/guide/api-javascript.html#javascript-api. Also, FYI, there is a GitHub issue in this repo about someone doing something similar (revalidation a la Vercel ISR). |
Beta Was this translation helpful? Give feedback.
-
Thank you! I think this is the issue, you're referring to: #713 |
Beta Was this translation helpful? Give feedback.
You should be able to achieve that.
See https://vitejs.dev/guide/api-javascript.html#javascript-api. Also, FYI, there is a GitHub issue in this repo about someone doing something similar (revalidation a la Vercel ISR).