#Fetch data only once in app.vue when running generate

1 messages · Page 1 of 1 (latest)

shut wind
#

Hi! I fetch a bunch of api data in app.vue and pop it all in my pinia store. This means that every page generated, app.vue fetches all the data every time. There must be a better way to only fetch data once but I can't see how. Any ideas? I have hundreds of pages!