djledda.de main
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

useDJSSRContext.ts 281 B

2 kuukautta sitten
123456789101112
  1. import { type MaybeRefOrGetter, useSSRContext } from "vue";
  2. export type DJSSRContext = {
  3. head: {
  4. title: MaybeRefOrGetter<string>;
  5. };
  6. registry: Record<string, unknown>;
  7. };
  8. export default function useDJSSRContext() {
  9. return useSSRContext<DJSSRContext>();
  10. }