From 0becd05b7cf020fa2b6ceade9f9cb543d7092aef Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 3 Feb 2021 22:05:05 +0100 Subject: [PATCH] test the provide --- .../src/App.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/2021-02-03 cmp-communication-08-a-potential-problem-starting-setup/src/App.vue b/2021-02-03 cmp-communication-08-a-potential-problem-starting-setup/src/App.vue index 77659a7..1db247a 100644 --- a/2021-02-03 cmp-communication-08-a-potential-problem-starting-setup/src/App.vue +++ b/2021-02-03 cmp-communication-08-a-potential-problem-starting-setup/src/App.vue @@ -41,6 +41,16 @@ export default { activateTopic(topicId) { this.activeTopic = this.topics.find(topic => topic.id === topicId); } + }, + mounted() { + setTimeout(() => { + this.topics.push({ + id: 'events', + title: 'events', + description: 'Events are important', + fullText: 'Events allow you to trigger code on demand!' + }); + }, 3000); } };