[Vuejs]-How to pass the value between vue components when one's loading depends on another

0👍

I would recommend using VueX for this, it’s state management framework.
So you would when you receive the data form the request save it in a store.
And then add a condition to render the second component. The second component will automatically re-render when the data is changed.

If you need more detailed help you’ll have to post some code.

<my-component v-if="getDataForStore"></my-component>

Leave a comment