really fix 404

This commit is contained in:
eggy 2022-08-10 19:40:10 -04:00
parent aedf88d446
commit 762a2519c1
4 changed files with 2 additions and 51 deletions

View File

@ -1,29 +0,0 @@
# HOI HOI
```js
export default defineNuxtConfig({
content: {
highlight: {
// Theme used in all color schemes.
theme: 'github-light'
// OR
theme: {
// Default theme (same as single string)
default: 'github-light',
// Theme used if `html.dark`
dark: 'github-dark',
// Theme used if `html.sepia`
sepia: 'monokai'
}
}
}
})
```
for some reason **it no** work
hey wtf
- list test
- list test
- list test

View File

@ -1,10 +0,0 @@
<script setup lang="ts">
import Default from "./layouts/default.vue";
import FourOhFour from "./pages/404.vue";
</script>
<template>
<Default>
<FourOhFour />
</Default>
</template>

View File

@ -10,7 +10,7 @@ export default defineNuxtConfig({
],
nitro: {
prerender: {
routes: ["/sitemap.xml", "/404.html"],
routes: ["/sitemap.xml", "/404"],
},
},
typescript: {
@ -19,9 +19,7 @@ export default defineNuxtConfig({
sitemap: {
hostname: process.env.BASE_URL || "https://eggworld.tk",
},
generate: {
fallback: "404.html",
},
generate: {},
tailwindcss: {},
colorMode: {
classSuffix: "",

View File

@ -1,8 +0,0 @@
<script setup lang="ts"></script>
<template>
<main class="flex flex-col grow prose dark:prose-invert">
<h1 class="mb-0">404 - Not Found</h1>
<p>The page you are looking for cannot be found.</p>
</main>
</template>