Skip to content

Commit 17fd0aa

Browse files
committed
add head title and favicon
1 parent fe43a7e commit 17fd0aa

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

nuxt.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ export default defineNuxtConfig({
1010
runtimeConfig: {
1111
FDC_API_KEY: 'ZK28BIF4kIQ79MdkTs4Cau17wf7hLKow2TRaUgfs'
1212
},
13+
app: {
14+
head: {
15+
title:"Diet Calculator",
16+
charset: "utf-8",
17+
meta: [{ name: "theme-color", content: "#36ff00" }],
18+
link: [
19+
{
20+
rel: "icon",
21+
type: "image/png",
22+
href: "/favicon.png",
23+
},
24+
{
25+
hid: "apple-touch-icon",
26+
rel: "apple-touch-icon",
27+
type: "image/png",
28+
href: "/favicon.png",
29+
},
30+
],
31+
},
32+
},
1333
modules: [
1434
'nuxt-primevue',
1535
'@nuxtjs/i18n',

public/favicon.ico

-4.19 KB
Binary file not shown.

public/favicon.png

5.09 KB
Loading

public/icon.png

19 KB
Loading

0 commit comments

Comments
 (0)