binding a text field to a variable vue js 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>