Vue.js Project Rules
To create a new Cursor Rule:
- Enter the name as
general
- Copy & paste the file content from below
For more information, visit the Project rules.
---
description: General Project Guidelines
globs: **/*
alwaysApply: false
---
# General Project Guidelines
## Tech Stack
- Vue 3
- Vite frontend build tool
- Vue Router for routing
- Pinia for state management
## Code Style
- Keep code simple and readable
- Use meaningful variable and function names
- Add appropriate comments to explain complex logic
- Follow the official Vue style guide
## Project Structure
- Keep the project structure clear, following modular principles
- Related features should be placed in the same directory
- Use appropriate directory names that reflect their contents
## General Development Principles
- Write testable code
- Avoid duplicate code (DRY principle)
- Prefer existing libraries and tools, avoid reinventing the wheel
- Consider code maintainability and scalability
## Response Language
- Always reply to users in English
## Project Rule File Description
This project uses the following rule files:
- general.mdc: General guidelines (this file)
- documentation.mdc: Documentation guidelines
- git.mdc: Git commit guidelines
- xxx.mdc: XXX language development guidelines