From ac100de8d8e0fc85e34cde9aec6262259b12f96c Mon Sep 17 00:00:00 2001 From: Cristiano Magro <cristiano.magro@vola.it> Date: Mon, 30 Dec 2024 21:53:48 +0100 Subject: [PATCH] style scoped locali --- 08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue new file mode 100644 index 0000000..21dd630 --- /dev/null +++ b/08 - component communication/cmp-communication-08-a-potential-problem-starting-setup/src/components/KnowledgeGrid.vue @@ -0,0 +1,17 @@ +<template> + <ul> + <knowledge-element + v-for="topic in topics" + :key="topic.id" + :id="topic.id" + :topic-name="topic.title" + :description="topic.description" + ></knowledge-element> + </ul> +</template> + +<script> +export default { + inject: ['topics'], +}; +</script> \ No newline at end of file -- Gitblit v1.8.0