From 55ab94d8f82940fb28f391b819f50bf286a22396 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 2 Feb 2021 22:20:02 +0100 Subject: [PATCH] recieve the emited data in App.vue --- .../src/App.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/2021-02-01 cmp-communication-assignment-problem/src/App.vue b/2021-02-01 cmp-communication-assignment-problem/src/App.vue index 32403de..65de6dd 100644 --- a/2021-02-01 cmp-communication-assignment-problem/src/App.vue +++ b/2021-02-01 cmp-communication-assignment-problem/src/App.vue @@ -2,7 +2,7 @@

User App

- +
@@ -16,6 +16,11 @@ export default { }, }; }, + methods: { + setActiveUser(user) { + this.user = user; + }, + }, };