refactor(app): simplify head link and meta rendering, add more titles and descriptions
This commit is contained in:
@@ -18,6 +18,11 @@ watch(loggedIn, (isLoggedIn) => {
|
||||
});
|
||||
const { data, refresh, pending } = await useFetch('/api/auth/profile');
|
||||
|
||||
useHead({
|
||||
title: t('layouts.title', {
|
||||
title: t('page.profile.title')
|
||||
})
|
||||
});
|
||||
const form = reactive({
|
||||
email: data.value!.email,
|
||||
name: data.value!.name
|
||||
|
||||
Reference in New Issue
Block a user