big updats

This commit is contained in:
Daniel Ledda
2025-12-20 00:10:42 +01:00
parent a93ffff00d
commit 51e44db779
25 changed files with 570 additions and 203 deletions

14
app/useDjSSRContext.ts Normal file
View File

@@ -0,0 +1,14 @@
import { type MaybeRefOrGetter, useSSRContext } from "vue";
export type DjSSRContext = {
head: {
title: MaybeRefOrGetter<string>;
metatags: MaybeRefOrGetter<Array<{ name: string, content: string }>>;
};
registry: Record<string, unknown>;
styles: Record<string, string>;
};
export default function useDjSSRContext() {
return useSSRContext<DjSSRContext>();
}