Within my custom 'text-input' components, I include some default markup and an 'input' element.
An effective method for passing the value of the 'text-input' to its parent is by emitting an event when the value changes.
To handle and capture this emitted value, I currently use a v-on directive for each text-input component:
<text-input v-on:valueUpdated="storeInputValue" name='name'></text-input>
<text-input v-on:valueUpdated="storeInputValue" name='email'></text-input>
<text-input v-on:valueUpdated="storeInputValue" name='phone'></text-input>
However, I find this approach repetitive and am exploring the possibility of having the v-on listener directly within the component template itself:
<template v-on:valueUpdated="storeInputValue">
...
</template>
This way, a 'default' v-on listener would be set for the component every time it is used.