Question · Next.js course · Module 2: Routing and Layouts
Metadata in App Router
Metadata in App Router is defined by:
Answer options
- A metadata.json file
- The Head component
- Exporting a metadata object or the generateMetadata function
- Configuration in next.config.js
Show the answer
Correct answer:
- Exporting a metadata object or the generateMetadata function