0👍
✅
you should catch errors like this:
.catch(error => {
this.errors = error.response.data.errors;
// console.log(this.errors);
})
and also
data(){
errors: {}
}
And the error in network was sent by laravel. It is not there cause you log this
.catch(err => console.log(err))
To show the error of description below text area :
<span
v-if="errors['description']"
role="alert"
>{{ errors["description"]}}
</span>
Source:stackexchange.com