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