Hello i have a question about vue routing and how the tree works. I have my parrent router where i have my router-view and my header on same level.
i have some functions i want to trigger from my header to a route called dashboard within my router-view
e.g: header.vue
<a href="#" @click.prevent="update()"> click me to update dashboard </a>
dashboard.vue
<p> {{datafrom filldata}} </p>
methods: {
fillDataToP() {
function to fill data
}
}
is this possible in vue?