diff --git a/docs/pages/[...slug].vue b/docs/pages/[...slug].vue index fd0d002f..34d0dc6e 100644 --- a/docs/pages/[...slug].vue +++ b/docs/pages/[...slug].vue @@ -37,7 +37,7 @@ definePageMeta({ const { data: page } = await useAsyncData(route.path, () => queryContent(route.path).findOne()) if (!page.value) { - throw createError({ statusCode: 404, statusMessage: 'Page not found' }) + throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true }) } const { data: surround } = await useAsyncData(`${route.path}-surround`, () => {