From 2cb2495148fb94aabe56a5cc01fefebd324b10c4 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 2 Jul 2024 10:02:10 +0300 Subject: [PATCH] Update TemplateContainer.vue --- apps/showcase/components/template/TemplateContainer.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/showcase/components/template/TemplateContainer.vue b/apps/showcase/components/template/TemplateContainer.vue index 5bd721539..a6cc7fa8e 100644 --- a/apps/showcase/components/template/TemplateContainer.vue +++ b/apps/showcase/components/template/TemplateContainer.vue @@ -21,7 +21,12 @@ export default { }, computed: { components() { - return this.templateData.components; + return this.templateData.components.map((component) => { + return { + ...component, + name: markRaw(component.name) + }; + }); } } };