Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
rampup_
Posts
Comments
N
Nuxt
•
Created by rampup_ on 5/29/2024 in
#❓・help
Fetch data during static generate
useAsyncData seems to do the trick, while useFetch moves the data fetch task to the browser. Maybe that should be stated more explicitly in the docs
3 replies
N
Nuxt
•
Created by rampup_ on 5/29/2024 in
#❓・help
Fetch data during static generate
Something like this here:
https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props
3 replies