use model in vuejs code example Example: vue v-model <input v-model="message" placeholder="edit me"> <p>Message is: {{ message }}</p>