really fix 404
This commit is contained in:
parent
aedf88d446
commit
762a2519c1
@ -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
|
10
error.vue
10
error.vue
@ -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>
|
@ -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: "",
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user