refactor: Remove unused prerender logic from config and pages
This commit is contained in:
parent
d8d38c1cb5
commit
38cf6ecd85
@ -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,
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
import { docsService } from "@/services/DocsService";
|
|
||||||
|
|
||||||
export async function onBeforePrerenderStart() {
|
|
||||||
const allDocumentations = await docsService.getUrls("certifications");
|
|
||||||
return allDocumentations;
|
|
||||||
}
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
import { docsService } from "@/services/DocsService";
|
|
||||||
|
|
||||||
export async function onBeforePrerenderStart() {
|
|
||||||
const allDocumentations = await docsService.getUrls("docs");
|
|
||||||
return allDocumentations;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user