Prepend baseURL to favicon.ico
This commit is contained in:
@@ -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';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user