Question from the Next.js test

Export the metadata object in Next JS

Easy

You want to optimize the SEO of a landing page, so you need to define static metadata properties. Where do you export the metadata object below?

//TypeScript

import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'Welcome to WeLoveDevs !',
  description: 'Find a job, make tests, join the community !',
};
Author: AnasStatus: PublishedQuestion passed 89 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!