In my vuejs application i am using vue-router for routing. Everything is working fine except this one.
In my parent i have list view having a link as below on the left side .
<div class="col-md-5">
<ul>
....
<a v-link="{ name: 'task-detail', params: { taskId: task.id }}">{{ task.title }}</a>
</ul>
</div>
<div class="col-md-7">
<router-view></router-view>
</div>
When i click it, my nested route gets activated and i display detail view on the right side.
Now my problem is In my parent view i can toggle if the task is completed or not.
I have a label showing if the task is completed or not in child view.
<label class="label label-success pull-right" v-show="task.is_completed">Completed</label>
How do i reflect the status change on my child view when i do it in parent view. Do i need to refresh the page ? or is there simpler solution.
In simpler terms When i toggle completion status on parent view my label should change on child view.