N
Nuxt7mo ago
IcyFoxer

Ideal place for fetching initial data

As per the title where would be the best place for fetching initial data that will be stored in pinia? Currently i am handling it in an auth middleware as well as in the default layout.
1 Reply
manniL
manniL7mo ago
“As early as possible” can be a plugin, can be the app.vue, can be a middleware. It depends a lot what you want to/can show in the meantime!
Want results from more Discord servers?
Add your server