chore: upgrade to nuxt 4

This commit is contained in:
eggy committed 2025-10-19 15:32:55 +08:00
1 parent e814c77333
commit 21c717ed79
50 files changed
+3353 -4155

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
/**
* Set the page title in the format [title] | [site name].
* @param title The title string.
*/
export function useTitle(title: string, description?: string) {
useHead({
title: `${title} | Oeufs?`,
meta: [
{ name: "viewport", content: " width=device-width,initial-scale=1" },
{ name: "description", content: description ?? "" },
],
});
}