Skip to content

Commit 92c793b

Browse files
committed
update favicon
1 parent 613d5af commit 92c793b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

layouts/default.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<Meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<Meta name="description" content="Nuxt Hackernews" />
77
<Title>NuxtJs - Hacker News</Title>
8-
<Link ref="icon" type="image/x-icon" href="/favicon.png" />
98
</Head>
109
<header class="header">
1110
<nav class="inner">

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ export default defineNuxtConfig({
55
typescript: {
66
shim: false
77
},
8+
head: {
9+
link: [
10+
{ rel: 'icon', type: 'image/png', href: '/favicon.png' }
11+
]
12+
}
813
})

0 commit comments

Comments
 (0)