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.
- [Vuejs]-Vue class equivalent for setup(){const { t } = useI18n({ inheritLocale: true, useScope: 'local' })}
- [Vuejs]-Blank page is showing laravel and vue
Source:stackexchange.com