Nuxt Content 3 migration #12
@ -1,12 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<ContentDoc tag="article" class="prose dark:prose-invert">
|
<ContentDoc tag="article" class="prose dark:prose-invert">
|
||||||
<template #not-found> Document not found </template>
|
<template #not-found>
|
||||||
|
<!-- 404 -->
|
||||||
|
<main class="prose dark:prose-invert">
|
||||||
|
<h1>404 - Not Found</h1>
|
||||||
|
<p>Maybe you can find somewhere else?</p>
|
||||||
|
</main>
|
||||||
|
</template>
|
||||||
</ContentDoc>
|
</ContentDoc>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
article {
|
article,
|
||||||
|
main {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
padding-top: 2rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user