英文:
favicon is not working in next js 13 why?
问题
export const metadata = {
title: "Pradeep's Resume",
icons: {
icon: "/icon.png",
},
};
can anyone tell me why this is not working ? I try doing .ico still not working
I remove Vercel favicon and it is still there
github-link: https://github.com/pradeep800/resume/blob/main/app/layout.tsx
URL:-https://resume.pradeepbisht.com/
<details>
<summary>英文:</summary>
```js
export const metadata = {
title: "Pradeep's Resume",
icons: {
icon: "/icon.png",
},
};
can anyone tell me why this is not working ? I try doing .ico still not working
I remove Vercel favicon and it is still there
github-link: https://github.com/pradeep800/resume/blob/main/app/layout.tsx
URL:-https://resume.pradeepbisht.com/
答案1
得分: 2
在app
目录下,你有一个favicon.ico
文件。删除它。看起来next.js
将其用作默认选项。然后它会起作用:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论