08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/App.vue
@@ -4,7 +4,7 @@ :topic-title="activeTopic && activeTopic.title" :text="activeTopic && activeTopic.fullText" ></active-element> <knowledge-base @select-topic="activateTopic"></knowledge-base> <knowledge-base ></knowledge-base> </div> </template> @@ -34,7 +34,8 @@ }, provide(){ return { topics: this.topics topics: this.topics, selectTopic: this.activateTopic, } }, methods: {