Celine Sally
Celine Sally

Reputation: 9

How to catch changed from data another component in vue.js?


index.vue import A.vue, B.vue


and, A.vue import apple.vue


and, B.vue import banana.vue

index.vue

If change apple.vue, How to catch in banana.vue???

using vuex, vue-property-decorator, typescript

Upvotes: -1

Views: 86

Answers (1)

Matt Chambers
Matt Chambers

Reputation: 11

You could implement a global event bus which can be listened to in any individual complement the usual way with Vue.

Upvotes: 0

Related Questions