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.
- [Vuejs]-How do I make it so that I can edit my vue to do list to add items?
- [Vuejs]-Vue js: show data from api is not working properly in my code
Source:stackexchange.com