refactor: Remove unused prerender logic from config and pages

This commit is contained in:
Gauthier Daniels 2025-04-17 14:28:39 +02:00
parent d8d38c1cb5
commit 38cf6ecd85
3 changed files with 0 additions and 14 deletions

View File

@ -22,8 +22,6 @@ export default {
bodyAttributes: { bodyAttributes: {
class: "flex min-h-full bg-white dark:bg-slate-900", class: "flex min-h-full bg-white dark:bg-slate-900",
}, },
prerender: true,
prefetchStaticAssets: "hover", prefetchStaticAssets: "hover",
extends: vikeReact, extends: vikeReact,

View File

@ -1,6 +0,0 @@
import { docsService } from "@/services/DocsService";
export async function onBeforePrerenderStart() {
const allDocumentations = await docsService.getUrls("certifications");
return allDocumentations;
}

View File

@ -1,6 +0,0 @@
import { docsService } from "@/services/DocsService";
export async function onBeforePrerenderStart() {
const allDocumentations = await docsService.getUrls("docs");
return allDocumentations;
}