definemodel
A Better v-model with defineModel
Rather than three separate pieces for a two-way bound value, defineModel gives this common Vue component pattern a single line of syntax.
Rather than three separate pieces for a two-way bound value, defineModel gives this common Vue component pattern a single line of syntax.