what is the best practice for SSR & prefetch & axios & pinia ? #15583
Unanswered
s-light
asked this question in
CLI - SSR mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i have a app that needs SSR.
(google needs to see the rendered html page with the correct structured meta data...)
i would like to use a pinia store for my data management.
so i think i have to use the prefetch-feature
and in this use axios to get the data from the backend and fill my store..
i came up with this in
App.vueany ideas / tips what to look out for...
sunny greetings
stefan
Beta Was this translation helpful? Give feedback.
All reactions