big updats
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { watch, toValue, type MaybeRefOrGetter } from 'vue';
|
||||
import useDJSSRContext from "@/useDJSSRContext.ts";
|
||||
import useDjSSRContext from "@/useDjSSRContext.ts";
|
||||
import { h } from "@/util.ts";
|
||||
|
||||
export default function useHead(params: {
|
||||
title: MaybeRefOrGetter<string>,
|
||||
metatags?: MaybeRefOrGetter<Array<{ name: string, content: string }>>
|
||||
}) {
|
||||
const context = useDJSSRContext();
|
||||
const context = useDjSSRContext();
|
||||
|
||||
if (context) {
|
||||
context.head.title = params.title;
|
||||
|
||||
Reference in New Issue
Block a user