djledda.de main
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
317 B

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