diff --git a/app.vue b/app.vue index 6702aa5..67c8ecf 100644 --- a/app.vue +++ b/app.vue @@ -9,6 +9,8 @@ const dop = data?.value as any; let darkBool = dop?.user?.profile?.nightMode || false; + console.log("l->", useNuxtApp().$loaded); + useNuxtApp().$loaded.value = true; // provide("user", ref(dop?.user || null)); provide("dark", darkBool); useHead({ @@ -17,9 +19,10 @@ return darkBool ? "dark" : undefined; }).value, }, + titleTemplate: (title) => + title ? `Rockfic | ${title}` : "Rockfic | Band fiction that rocks", }); - let loaded = ref(false); - provide("loaded", loaded); + // provide("loaded", useNuxtApp().$loaded); // let loaded = ref([]); // provide("loaded", { // loaded, @@ -49,12 +52,7 @@ Nothing here but crickets. - -
- - - -
+