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