vue using v-model on component code example
Example: vue v-model
<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>
<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>