11 lines
521 B
Plaintext
11 lines
521 B
Plaintext
---
|
|
description: This rule provides additional instructions for Next.js development, covering various aspects such as TypeScript, SEO, image optimization, styling, and error handling.
|
|
globs: **/*.{js,jsx,ts,tsx}
|
|
---
|
|
- Use TypeScript for type safety
|
|
- Implement proper metadata for SEO
|
|
- Utilize Next.js Image component for optimized images
|
|
- Use CSS Modules or Tailwind CSS for styling
|
|
- Implement proper error boundaries
|
|
- Follow Next.js naming conventions for special files
|
|
- Use environment variables for configuration |