#nuxtServerInit in Nuxt3

1 messages · Page 1 of 1 (latest)

oak island
#

In Nuxt2 there was a nice function called nuxtServerInit. However in Nuxt3 this function no longer exists.

The issue is I'm having is as follows:
For some reason when i have a plugin that executes a $fetch during SSR it executes this around 4-5 times. That of course shouldn't happen.

Is there anyway how to do a $fetch to get a initial response?

random pulsar
#

nuxtServerInit was a axios action