Browse Source

Prepend baseURL to favicon.ico

master
Riyyi 2 weeks ago
parent
commit
f610edf22c
  1. 3
      src/app.vue

3
src/app.vue

@ -16,6 +16,9 @@ const store = useStateStore();
store.applyColorMode(); store.applyColorMode();
useHead({ useHead({
link: [
{ rel: "icon", type: "image/x-icon", href: getPublicPath("/favicon.ico") },
],
titleTemplate: (titleChunk: string | undefined): string | null => { titleTemplate: (titleChunk: string | undefined): string | null => {
return titleChunk ? `${titleChunk} - website-vue` : 'website-vue'; return titleChunk ? `${titleChunk} - website-vue` : 'website-vue';
} }

Loading…
Cancel
Save