From 7b76f7b121e05919fab0bc67b8bfdbc1f2fef6ed Mon Sep 17 00:00:00 2001 From: Michael Mulich <168470+mmulich@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:50:33 -0700 Subject: [PATCH] Update ProductItemList.vue Changes the components value from an array to an object mapping, which is required for the component to map sub component names. --- ch03/src/components/ProductItemList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch03/src/components/ProductItemList.vue b/ch03/src/components/ProductItemList.vue index cff3c74..315fd0c 100644 --- a/ch03/src/components/ProductItemList.vue +++ b/ch03/src/components/ProductItemList.vue @@ -39,7 +39,7 @@ import { defineComponent } from "vue"; export default defineComponent({ name: "ProductItemList", - components: [ListLayout], + components: { ListLayout }, data() { return { price: 100,