[Vuejs]-Want to show laravel validation messages using vuejs

0๐Ÿ‘

โœ…

<li v-for="(error, index) in validationErrors" :key="`error_${index}`">{{ error[0] }}</li>

This would work but I would probably do some formatting before setting your error array from the response such as flatmapping and so on.

Leave a comment