How to call a function from the component by pressing a button in the footer Vue js?

The structure is this:

There's Layout, he has two component Footer and NavBar

In the same layout'e is the main content (a) in this component has a function.

The question is, how by pressing a button in the Footer, you can call the function in main component.

Such a structure

LayOut - the Main component (router view (nuxt))
March 23rd 20 at 19:38
1 answer
March 23rd 20 at 19:40
How to use eventbus send the press event on the button in the footer, basically a component of the sign and call the correct function.

Find more questions by tags Vue.jsJavaScript