vue get value of input code example
Example 1: vue v-model
<input v-model="message" placeholder="edit me">
<p>Message is: {{ message }}</p>
Example 2: vuejs input call the value
<input type="text" v-model="name" />
<p>My name is {{ name }}</p>
//.. Vue file
data(){
return {
name = ''
}
}