@husayt it does not. I believe nuxtClientInit is in the works.
In the mean time, my solution was to create a middleware that gets run. Not sure if it'll fit your needs but worth a shot.
Also, it has been suggested that you can create a nextClientInit plugin, that also functions the same. I do however question, how you can ensure this plugin runs first before others and may run into a race condition against plugins.
@alexchopin I ended up following your advise from here and that helped a lot. It will be extremely useful to add that to FAQ. Also need to mention/clarify in nuxtserverinit doc that it only works on serverside.
https://github.com/nuxt/nuxt.js/issues/240#issuecomment-326893386
Thanks
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@alexchopin I ended up following your advise from here and that helped a lot. It will be extremely useful to add that to FAQ. Also need to mention/clarify in
nuxtserverinitdoc that it only works on serverside.https://github.com/nuxt/nuxt.js/issues/240#issuecomment-326893386
Thanks