[Vuejs]-Vue3: Two-way binding with two child components

0👍

You can use v-model, but then you have to follow the naming pattern:
https://v3.vuejs.org/guide/component-custom-events.html#handling-v-model-modifiers

The other option would be to have a custom emit which in your Table.vue modifies the per_page option as here it is a reactive and can be modified.

Leave a comment