Now I want to pass the variables in a vue to another vue file for calling. How to do
业精于勤,荒于嬉;行成于思,毁于随。
Father to son: props
From son to father: Custom event emit
Brother components: event bus or vuex
Of course, parameters in routing may also be used
Vuex or event bus
First of all, you need to understand the relationship between these two components. Then make a choice. The answer on the first floor is enough. For the specific situation, I will give you a portal, a portal
Father to son: props
From son to father: Custom event emit
Brother components: event bus or vuex
Of course, parameters in routing may also be used
Vuex or event bus
First of all, you need to understand the relationship between these two components. Then make a choice. The answer on the first floor is enough. For the specific situation, I will give you a portal, a portal