Nuxt Content 3 migration #12
@ -1,12 +1,20 @@
|
||||
<template>
|
||||
<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>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
article {
|
||||
article,
|
||||
main {
|
||||
width: 90%;
|
||||
height: 100%;
|
||||
padding-top: 2rem;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user