I am trying to create a Vue.js component that exists for some input fields. This means that the component template must accept a name for the inputs.
Say I have a template:
<template>
<input type="text" name="VARIABLE">
</template>
and I call this component with
<component-input></component-input>
How does my component input determine the value of VARIABLE?
source
share