K
K
KeeVeeG2020-07-10 18:44:25
Vue.js
KeeVeeG, 2020-07-10 18:44:25

How to pass data to the parent's parent?

I'm a complete newbie to Vue. There was a question: how more effectively to transfer the data, let's say through $emit, to the parent of the parent?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fan92rus, 2020-07-10
@fan92rus

Use Vuex
In essence, we write data to a shared storage (no matter what level the current element is).
And we also independently take the data in the desired element

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question