Closed
Description
What problem does this feature solve?
I am learning router, I want to programmatic navigation from a path(components) to other path.
Because call router.push() in components isn't valid. I must emit a event to parent.
I just add @jump="myjump" at router-view tag, everything is OK.
But I can't find any description about it in http://router.vuejs.org.
What does the proposed API look like?
The vue's document is simple, clear, effective for me. I hope it would be better, so I suggest to add a little description about how to emit a event from components to parent, and how to capture components' event.
Just a little.
Thanks.