feat. 데이터 구조 변경에 따른 수정

This commit is contained in:
clkim
2025-09-11 14:38:02 +09:00
parent 060517e9ad
commit 457516a3a2
24 changed files with 213 additions and 250 deletions

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { storeToRefs } from "pinia";
import { usePageDataStore } from "#layers/stores/usePageDataStore";
import Section from "#layers/components/molecules/Section.vue";
import Template from "#layers/components/molecules/Template.vue";
const pageDataStore = usePageDataStore();
const { pageData } = storeToRefs(pageDataStore);
@@ -43,7 +43,7 @@ watchEffect(() => {
<template>
<NuxtLayout :name="layout">
<ClientOnly>
<Section :templates="pageData?.templates ?? []" />
<Template :templates="pageData?.templates ?? []" />
</ClientOnly>
</NuxtLayout>
</template>