access input value 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 = ''
}
}