Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Vue, Pinia, VueRouter and await - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
16mo ago
•
7 replies
Tabletop
Vue, Pinia, VueRouter and await
When data fetching
, what is the best way to fetch and then store in Pinia
?
use
await
await
inside your store
?
?
Or have variables in your store and fetch from a
composible
composible
in a
index.vue
index.vue
I would prefer to use just one
.vue file if possible
, but it seems at the moment
, I have to use multiple
like
/tags/my_tag
/tags/my_tag
which are done by just making a
tags
tags
folder and puting
[my_tag].vue
[my_tag].vue
in there
My reason for usia a pinia store is to sync data across
.vue files
I
'm trying different combinations but keep breaking my app
!
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
VueRouter many different routes from one .vue file
KP-C
Kevin Powell - Community / front-end
16mo ago
access Pinia variable dynamically
KP-C
Kevin Powell - Community / front-end
15mo ago
Name and ID attribute for vue form
KP-C
Kevin Powell - Community / front-end
3y ago
async await in loops
KP-C
Kevin Powell - Community / front-end
4y ago