[Vuejs]-Vuex component doesn't render on the page

0👍

It is hard to say just based on this information.

Can it be that sometimes Axios call returns before components mounts and that is why it renders the component, while other times component crashes because it is missing some data that it is waiting from this API call?

If that is the case, use the if statement to display some loader until the Axios return and then display the necessary component.

Leave a comment