V
V
VegasChickiChicki2020-11-13 18:44:07
Vue.js
VegasChickiChicki, 2020-11-13 18:44:07

Nuxt asyncdata why do I see xhr requests on the front?

I can’t find the logic and understand this, it seems to be asyncData, a function that runs on the server... But for some reason, when I go to pages where asyncData is used, I see a request in networks, xhr using the method described in asyncData... Unless this request shouldn't be server side?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2020-11-13
@VegasChickiChicki

Shouldn't this request be on the server side?

Why do you shy away from documentation ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question