AlokaiA
Alokai3y ago
5 replies
Keider

onSSR allways make my api call

hi, in my application, i create alert message, who must appears on the first loading of a page. I using onSSR() on the default.vue, but when i change the page, it reloading my alert message. I try to using onServerPrefetch, but same result.
What i'm doing wrong? It is the best way for what i want to do ?
Was this page helpful?