This repo provides a couple examples of how to expand on the v-model directive in Vue.js.
This
<input v-model="firstName">
Is the same as this
<input :value="firstName" @input="firstName = $event">
In short, v-model just passed down a value, listens for an input event, and sets the passed down value equal to the value emitted in the input event.
npm install
npm run serve
npm run build
npm run test
npm run lint