how to get input value in vuejs code example
Example: vuejs input call the value
<input type="text" v-model="name" />
<p>My name is {{ name }}</p>
//.. Vue file
data(){
return {
name = ''
}
}
<input type="text" v-model="name" />
<p>My name is {{ name }}</p>
//.. Vue file
data(){
return {
name = ''
}
}