Next.js · Junior · Question 54 of 75
How do you set the site favicon in the App Router?
- ✓Correct answer: Place
favicon.ico(oricon.png) in theapp/folder - Next.js adds the<link>tags automatically - 2Add
<link rel="icon">manually to every page - 3Set
faviconinnext.config.ts
Explanation
Icon files are metadata file conventions. icon and apple-icon can also be generated in code with icon.tsx.