08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeBase.vue
@@ -1,13 +1,11 @@ <template> <section> <h2>Select a Topic</h2> <knowledge-grid @select-topic="$emit('select-topic', $event)"></knowledge-grid> <knowledge-grid ></knowledge-grid> </section> </template> <script> export default { emits: ['select-topic'], }; </script>