How to setup initial state while using vue reactive for state management #135
Unanswered
techieoriname
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a huge fan of the
vue reactive
and I have been using it for state management since my switch to vue 3.However, I'm setting up SSR for my project, and from the documentation I saw samples of initial state data using
vuex
orpinia
.But I actually make use of
vue's reactive function
and I was wondering if I could populate the object on SSR. And also is it possible to populate remote data via http request?My store looks like this.
Beta Was this translation helpful? Give feedback.
All reactions