How to pass a value to the router view?

Doing a virtual lab and use vue. For navigation use the vue-router. All is good, but I need to switch between the practice and theory of experience. To switch I made a button in the header that's in the vue-router not included.
I would like that clicking one button was switching on the theory, and when another button was switching on practice.
UPD: Decided with the help of props from a child component
June 7th 19 at 15:01
2 answers
June 7th 19 at 15:03
So, what's the problem? Do click on the button this.$router.push(wherever you need).
June 7th 19 at 15:05
Pass through. props
this.$router.push({
 name: 'CalculateCreate',
 params: { calculationData: calculationData }
})

Find more questions by tags JavaScriptVue.js