Answer the question
In order to leave comments, you need to log in
How to wait for data to be received from the calling component?
Kind. NUXT.
There are 2 components. One is called from the other with data ( PROMISE ). The called component initializes the Plugin, which eats data only during initialization ( mount ). But when initializing the data, there is still no data because the data has not yet reached the chain from the API.
I got out of the problem by creating a computed with a check through Object.assign and further initialization. But I don't like this approach. If anyone has any ideas or links - please share.
Answer the question
In order to leave comments, you need to log in
debianworld.ru/articles/nastrojka-rusifikaciya-kon...
The letters "Local loop" are hidden under the squares, follow the link for instructions on how to fix it.
What could be wrong?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question