vuejs update parent data from child component
Two-way binding has been deprecated in Vue 2.0 in favor of using a more event-driven architecture. In general, a child should not mutate its props. Rather, it should $emit events and let the parent respond to those events. In your specific case, you could use a custom component with v-model. This is a special syntax … Read more