feat: 에러 추가 중
This commit is contained in:
9
app/pages/error.vue
Normal file
9
app/pages/error.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<NuxtLayout>
|
||||
<div>
|
||||
<h1>Dang</h1>
|
||||
<p>It looks like something broke.</p>
|
||||
<p>Sorry about that.</p>
|
||||
</div>
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
@@ -7,6 +7,8 @@ const { pageData } = storeToRefs(pageDataStore)
|
||||
|
||||
const currentLayout = computed(() => getLayoutType(pageData.value))
|
||||
|
||||
console.log("🚀 ~ currentLayout:", currentLayout)
|
||||
|
||||
definePageMeta({
|
||||
layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user