0
data: {
appName: 'Component Demo',
userName: 'John Doe'
},
here the variable name is userName. but on html part you have used name
change this to
<input type="text" v-model="userName" />
Hope this solves the issue
- [Vuejs]-How to add Old data to select inputs (looping by vue.js) in form
- [Vuejs]-Gridsome/Netlify CMS docs lead to broken Graphql
Source:stackexchange.com