How do components that are far apart in a vue project communicate?

can be understood as a distant relative component.
for example, there are An and B under App.
A below are Aa, Ab, Ac.
Aa below are Aaa, Aab, Aac.
. Under
B are Ba, Bb, Bc.
.
now, an operation in Aaaa is going to modify a property of Babc. What should I do?

Dec.20,2021

is far apart, indicating that the project is cumbersome enough. It is recommended that the project use vuex


. Why not say nesting. Hee hee.
either not nested.
Let's use the upstairs solution.
vuex is actually quite easy to use. Because with it, you don't have to worry about component communication at all.


has already used vuex

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3adbe-2ba9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3adbe-2ba9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?