[Update] preview
This commit is contained in:
parent
e9c33e0fc9
commit
40e8b59001
@ -9,7 +9,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import WeddingA from '~/components/templates/wedding/weddingA.vue'
|
||||
import WeddingA from '../templates/wedding/WeddingA.vue'
|
||||
|
||||
// Props dari parent (/p/[code].vue)
|
||||
const props = defineProps({
|
||||
|
||||
@ -276,7 +276,9 @@ const { data, pending, error } = await useAsyncData(
|
||||
|
||||
// Component mapping for known slugs
|
||||
const componentMap = {
|
||||
'undangan-minimalis': defineAsyncComponent(() => import('~/components/undangan/undangan-minimalis.vue')),
|
||||
'undangan-khitan-premium': defineAsyncComponent(() => import('~/components/undangan/undangan-khitan-premium.vue')),
|
||||
'undangan-ulang-tahun-premium': defineAsyncComponent(() => import('~/components/undangan/undangan-ulang-tahun-premium.vue')),
|
||||
'undangan-pernikahan-premium': defineAsyncComponent(() => import('~/components/undangan/undangan-pernikahan-premium.vue')),
|
||||
// Add more mappings as templates are developed
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user