How to get method component from layout



  • Hello

    I have an app with:

    Layout
    Page component
    Component with data & method

    I pretend to accés to data & method (component instance) from a layout method.
    I’ve tried with $refs but didn’t work.

    Any comment, please?
    Thank you very much.



  • Moré info:
    I use vuex. The idea is to save component local data to store state variable. I want to launch this action from layout menu.
    Thanks