fix: missing html attributes

This commit is contained in:
Huskydog9988
2025-04-07 16:13:57 -04:00
parent 7400fae11b
commit 657fd50702
2 changed files with 20 additions and 0 deletions

View File

@ -223,6 +223,16 @@ router.afterEach(() => {
});
useHead({
htmlAttrs: {
lang: "en",
},
link: [
{
rel: "icon",
type: "image/png",
href: "/favicon.png",
},
],
titleTemplate(title) {
return title ? `${title} | Admin | Drop` : `Admin Dashboard | Drop`;
},

View File

@ -16,6 +16,16 @@ const route = useRoute();
const noWrapper = !!route.query.noWrapper;
useHead({
htmlAttrs: {
lang: "en",
},
link: [
{
rel: "icon",
type: "image/png",
href: "/favicon.png",
},
],
titleTemplate(title) {
if (title) return `${title} | Drop`;
return `Drop`;