0đ
â
You shouldnât need a plug-in.
In VueJS, you can bind data to a form element using v-model.
So letâs say you have an object:
view: {
foo: âbarâ
}
You can use this âŠ
<input type=âtextâ v-model=âview.fooâ />
In this case, when foo is set by your axios callback, the text box will automatically update its value. And likewise, when you change the text in the input, your object will update. This is called two-way binding.
Source:stackexchange.com