A
A
adam_carraway2019-06-28 22:57:39
Vue.js
adam_carraway, 2019-06-28 22:57:39

How is event passing between components implemented?

I have 3 components

<body class="with--live lm-pt-50 with--adblock">
    <header_v :authdata="{{ json_encode($url_data) }}" ></header_v>
    <router-view></router-view>
    <live-comm></live-comm>

How can I make it so that when a method in the header_v component fires, some other method fires in the router-view component.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-06-28
@adam_carraway

bus event

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question