Files
main/awesome-cursor-rules-mdc/cursorrules-cursor-ai-nextjs-14-tailwind-seo-setup/metadata-rules.mdc
T
2025-02-17 17:50:15 +05:30

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',
}