disable livewire error model code example
Example: disable livewire error model
<script>
window.livewire.connection.driver.showHtmlModal = function (response) {
const json = JSON.parse(response);
if(json.status === 419){
return location.reload();
}
window.livewire.emit('livewire-exception', json.error)
};
</script>
@sujay