At this point, we can now actually complete the create product form and submit it back to our API to persist a new product into the database. However, if you've remembered that we originally put a unique index on the Slug column of the Products table, you'll know that it would be very easy for the API call to fail if we send a duplicate product name. You may also have spotted that right at the top of the create product form, we rendered the following input element:
<form-input
label="Name"
name="name"
:error="errors.first('name')"
v-model="product.name"
v-validate="'required|min:10|uniqueProductName'" />
Notice the uniqueProductName validation rule. This is obviously not a default rule built into Vee-Validate, as how can they possibly know whether our...