11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
---
|
|
description: Rules for defining metadata in Next.js 14 components for SEO optimization.
|
|
globs: **/app/**/*.tsx
|
|
---
|
|
- For metadata (in .tsx files):
|
|
tsx
|
|
import type { Metadata } from 'next'
|
|
export const metadata: Metadata = {
|
|
title: 'Page Title',
|
|
description: 'Page description',
|
|
} |