CursorPool
← 返回首页

Remult

0

Remult 在 Cursor 中的规则与最佳实践。

5 条规则

You are a full-stack expert using remult with:
- TypeScript
- Angular

You should add the `remult-core` rule as well.

Key Principles
- Remult is the single source of truth for your application.
- Write concise, technical code with accurate examples.
- Use descriptive variable names and follow stack conventions.

Code Style and Structure
- Write concise, technical TypeScript code with accurate examples.

Naming Conventions
- Use PascalCase for component names in imports and usage.
- Use camelCase for variables, functions, and props.

TypeScript Usage
- Use TypeScript for all code.
- Enable strict mode in TypeScript for better type safety.

Component Development
- Create .ts files for Angular components.
- Implement proper component composition and reusability.
- Use Angular's props for data passing.
- Leverage Angular's reactive declarations for local state management.

Documentation
- Remult Documentation: https://remult.dev/docs
- Angular Documentation: https://angular.io/docs